Show list of non-exited daemons
Summary: This is arguably a more useful view than listing all daemons. Test Plan: Looked at list, only saw daemons that haven't exited Reviewers: vrana, epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3286
This commit is contained in:
@@ -21,7 +21,7 @@ final class PhabricatorDaemonConsoleController
|
||||
|
||||
public function processRequest() {
|
||||
$logs = id(new PhabricatorDaemonLog())->loadAllWhere(
|
||||
'1 = 1 ORDER BY id DESC LIMIT 15');
|
||||
'`status` != %s ORDER BY id DESC LIMIT 15', 'exit');
|
||||
|
||||
$request = $this->getRequest();
|
||||
$user = $request->getUser();
|
||||
@@ -31,22 +31,7 @@ final class PhabricatorDaemonConsoleController
|
||||
$daemon_table->setDaemonLogs($logs);
|
||||
|
||||
$daemon_panel = new AphrontPanelView();
|
||||
$daemon_panel->setHeader(
|
||||
'Recently Launched Daemons'.
|
||||
' · '.
|
||||
phutil_render_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => '/daemon/log/',
|
||||
),
|
||||
'View All Daemons').
|
||||
' · '.
|
||||
phutil_render_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => '/daemon/log/combined/',
|
||||
),
|
||||
'View Combined Log'));
|
||||
$daemon_panel->setHeader('Recently Launched Daemons');
|
||||
$daemon_panel->appendChild($daemon_table);
|
||||
|
||||
$tasks = id(new PhabricatorWorkerTask())->loadAllWhere(
|
||||
|
||||
Reference in New Issue
Block a user