1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 12:00:55 +01:00

Only show future triggers in Upcoming Triggers panel

Test Plan: Have one-off triggers, look in daemon console, don't see expired ones.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D16250
This commit is contained in:
Aviv Eyal 2016-07-08 00:16:51 +00:00 committed by avivey
parent 7050506267
commit c50811137d

View file

@ -190,6 +190,7 @@ final class PhabricatorDaemonConsoleController
$triggers = id(new PhabricatorWorkerTriggerQuery()) $triggers = id(new PhabricatorWorkerTriggerQuery())
->setViewer($viewer) ->setViewer($viewer)
->setOrder(PhabricatorWorkerTriggerQuery::ORDER_EXECUTION) ->setOrder(PhabricatorWorkerTriggerQuery::ORDER_EXECUTION)
->withNextEventBetween(0, null)
->needEvents(true) ->needEvents(true)
->setLimit(10) ->setLimit(10)
->execute(); ->execute();