mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 21:10:56 +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:
parent
7050506267
commit
c50811137d
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue