We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 384a0e5 commit fbe1a99Copy full SHA for fbe1a99
www/board/agenda/daemon/channel.rb
@@ -15,7 +15,7 @@
15
16
class Channel
17
@@sockets = Concurrent::Map.new
18
- @@users = Concurrent::Map.new {|map,key| map[key]=[]}
+ @@users = Concurrent::Map.new {|map,key| map.compute_if_absent(key) { [] } }
19
20
begin
21
FOUNDATION_BOARD = ASF::SVN['foundation_board']
0 commit comments