kopia lustrzana https://github.com/iv-org/invidious
Fix `Channel` namespace collision
rodzic
25168958e8
commit
9d2df2e205
|
@ -35,7 +35,7 @@ class Invidious::Jobs::NotificationJob < Invidious::Jobs::BaseJob
|
|||
PG.connect_listen(pg_url, "notifications") do |event|
|
||||
connections.each do |channel|
|
||||
channel.send(event)
|
||||
rescue Channel::ClosedError
|
||||
rescue ::Channel::ClosedError
|
||||
# Notification stream was closed.
|
||||
end
|
||||
end
|
||||
|
|
Ładowanie…
Reference in New Issue