Fix Channel namespace collision

This commit is contained in:
syeopite 2025-06-01 13:07:57 -07:00
parent 25168958e8
commit 9d2df2e205
No known key found for this signature in database
GPG Key ID: A73C186DA3955A1A

View File

@ -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