Downgrade of loop time from 28 to 24 sek.

This commit is contained in:
Martin Edenhofer 2013-07-27 00:57:06 +02:00
parent a04b79621d
commit a7e4f028c0

View file

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