mirror of
https://github.com/iv-org/invidious
synced 2024-11-09 01:10:27 +00:00
Bump expire time for pubsub
This commit is contained in:
parent
8f41130a14
commit
bf11a46abe
@ -2321,7 +2321,8 @@ get "/feed/webhook/:token" do |env|
|
|||||||
data = "#{time}"
|
data = "#{time}"
|
||||||
end
|
end
|
||||||
|
|
||||||
if Time.now.to_unix - time.to_i > 600
|
# The hub will sometimes check if we're still subscribed after delivery errors
|
||||||
|
if Time.now.to_unix - time.to_i > 432000
|
||||||
halt env, status_code: 400
|
halt env, status_code: 400
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user