Increased time period for check of already pushed objects.
This commit is contained in:
parent
73ddd01c70
commit
a9dee81a96
1 changed files with 2 additions and 2 deletions
|
@ -448,7 +448,7 @@ class ClientState
|
||||||
|
|
||||||
# verify already pushed data
|
# verify already pushed data
|
||||||
if !CacheIn.get( 'pushed_users' + @client_id.to_s )
|
if !CacheIn.get( 'pushed_users' + @client_id.to_s )
|
||||||
CacheIn.set( 'pushed_users' + @client_id.to_s , true, { :expires_in => 15.seconds } )
|
CacheIn.set( 'pushed_users' + @client_id.to_s , true, { :expires_in => 20.seconds } )
|
||||||
if @pushed[:users]
|
if @pushed[:users]
|
||||||
users = {}
|
users = {}
|
||||||
@pushed[:users].each {|user_id, user_o|
|
@pushed[:users].each {|user_id, user_o|
|
||||||
|
@ -473,7 +473,7 @@ class ClientState
|
||||||
|
|
||||||
# verify already pushed data
|
# verify already pushed data
|
||||||
if !CacheIn.get( 'pushed_tickets' + @client_id.to_s )
|
if !CacheIn.get( 'pushed_tickets' + @client_id.to_s )
|
||||||
CacheIn.set( 'pushed_tickets' + @client_id.to_s , true, { :expires_in => 15.seconds } )
|
CacheIn.set( 'pushed_tickets' + @client_id.to_s , true, { :expires_in => 20.seconds } )
|
||||||
if @pushed[:tickets]
|
if @pushed[:tickets]
|
||||||
tickets = []
|
tickets = []
|
||||||
users = {}
|
users = {}
|
||||||
|
|
Loading…
Reference in a new issue