mirror of
				https://gitea.invidious.io/iv-org/invidious
				synced 2025-06-05 23:29:12 +02:00 
			
		
		
		
	Bump expire time for pubsub
This commit is contained in:
		| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user