Check if ticket has beed updated only every 30 min.

This commit is contained in:
Martin Edenhofer 2015-03-16 16:07:18 +01:00
parent 28a024554e
commit 96c84e8351

View file

@ -36,7 +36,9 @@ class App.TicketZoom extends App.Controller
@load(cache)
update = =>
@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
@bind(