Check if ticket has beed updated only every 30 min.
This commit is contained in:
parent
28a024554e
commit
96c84e8351
1 changed files with 3 additions and 1 deletions
|
@ -36,7 +36,9 @@ class App.TicketZoom extends App.Controller
|
||||||
@load(cache)
|
@load(cache)
|
||||||
update = =>
|
update = =>
|
||||||
@fetch( @ticket_id, false )
|
@fetch( @ticket_id, false )
|
||||||
@interval( update, 450000, 'pull_check' )
|
|
||||||
|
# check if ticket has beed updated every 30 min
|
||||||
|
@interval( update, 1800000, 'pull_check' )
|
||||||
|
|
||||||
# fetch new data if triggered
|
# fetch new data if triggered
|
||||||
@bind(
|
@bind(
|
||||||
|
|
Loading…
Reference in a new issue