Add buffer for notification channels

This commit is contained in:
Omar Roth
2019-06-03 13:36:49 -05:00
parent d197497349
commit d6ec441c8e
2 changed files with 11 additions and 9 deletions

View File

@@ -186,7 +186,7 @@ spawn do
end
end
connection_channel = Channel({Bool, Channel(PQ::Notification)}).new
connection_channel = Channel({Bool, Channel(PQ::Notification)}).new(32)
spawn do
connections = [] of Channel(PQ::Notification)