mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-15 18:08:29 +00:00
Fix Channel
namespace collision
This commit is contained in:
parent
25168958e8
commit
9d2df2e205
@ -35,7 +35,7 @@ class Invidious::Jobs::NotificationJob < Invidious::Jobs::BaseJob
|
|||||||
PG.connect_listen(pg_url, "notifications") do |event|
|
PG.connect_listen(pg_url, "notifications") do |event|
|
||||||
connections.each do |channel|
|
connections.each do |channel|
|
||||||
channel.send(event)
|
channel.send(event)
|
||||||
rescue Channel::ClosedError
|
rescue ::Channel::ClosedError
|
||||||
# Notification stream was closed.
|
# Notification stream was closed.
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user