Fix `Channel` namespace collision

pull/5330/head
syeopite 2025-06-01 13:07:57 -07:00
rodzic 25168958e8
commit 9d2df2e205
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: A73C186DA3955A1A
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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