From a7e4f028c081bd4074bb4c381d54aa8e9ba140db Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 27 Jul 2013 00:57:06 +0200 Subject: [PATCH] Downgrade of loop time from 28 to 24 sek. --- app/controllers/long_polling_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/long_polling_controller.rb b/app/controllers/long_polling_controller.rb index 8bc6ef49e..e19efa191 100644 --- a/app/controllers/long_polling_controller.rb +++ b/app/controllers/long_polling_controller.rb @@ -121,8 +121,8 @@ class LongPollingController < ApplicationController sleep 1 Session.touch( client_id ) - # set max loop time to 28 sec. because of 30 sec. timeout of mod_proxy - count = 14 + # set max loop time to 24 sec. because of 30 sec. timeout of mod_proxy + count = 12 while true count = count - 1 queue = Session.queue( client_id )