summaryrefslogtreecommitdiffstats
path: root/src/invidious.cr
diff options
context:
space:
mode:
authorOmar Roth <omarroth@protonmail.com>2019-06-03 13:36:49 -0500
committerOmar Roth <omarroth@protonmail.com>2019-06-03 13:36:49 -0500
commitd6ec441c8ef418ebb8be625e4ee7738cdda62597 (patch)
tree10c0809d8e3818f4deff4ed35a8d81feb14c174c /src/invidious.cr
parentd19749734985c1cc057a27494bbaf64a54bcf348 (diff)
downloadinvidious-d6ec441c8ef418ebb8be625e4ee7738cdda62597.tar.gz
invidious-d6ec441c8ef418ebb8be625e4ee7738cdda62597.tar.bz2
invidious-d6ec441c8ef418ebb8be625e4ee7738cdda62597.zip
Add buffer for notification channels
Diffstat (limited to 'src/invidious.cr')
-rw-r--r--src/invidious.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index e1e9af2a..24dcaf7e 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -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)