Bump expire time for pubsub

pull/411/head
Omar Roth 2019-03-11 10:48:38 -05:00
rodzic 8f41130a14
commit bf11a46abe
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -2321,7 +2321,8 @@ get "/feed/webhook/:token" do |env|
data = "#{time}"
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
end