@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Show wait delay in daemon UI explicitly

Summary: Ref T3557. I had misremembered this value; show it in the UI. Depends on D6542.

Test Plan: Viewed UI for a waiting daemon. Saw it restart after 5s.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T3557

Differential Revision: https://secure.phabricator.com/D6543

+6 -4
+6 -4
src/applications/daemon/controller/PhabricatorDaemonLogViewController.php
··· 93 93 94 94 $unknown_time = PhabricatorDaemonLogQuery::getTimeUntilUnknown(); 95 95 $dead_time = PhabricatorDaemonLogQuery::getTimeUntilDead(); 96 + $wait_time = PhutilDaemonOverseer::RESTART_WAIT; 96 97 97 98 $details = null; 98 99 $status = $daemon->getStatus(); ··· 122 123 $details = pht( 123 124 'This daemon is running normally and reported a status update '. 124 125 'recently (within %s). However, it encountered an error while '. 125 - 'doing work and is waiting a little while to resume processing. '. 126 - 'After encountering an error, daemons wait before resuming work '. 127 - 'to avoid overloading services.', 128 - phabricator_format_relative_time($unknown_time)); 126 + 'doing work and is waiting a little while (%s) to resume '. 127 + 'processing. After encountering an error, daemons wait before '. 128 + 'resuming work to avoid overloading services.', 129 + phabricator_format_relative_time($unknown_time), 130 + phabricator_format_relative_time($wait_time)); 129 131 break; 130 132 case PhabricatorDaemonLog::STATUS_EXITED: 131 133 $details = pht(