Differential D11852 Diff 28614 src/applications/daemon/controller/PhabricatorDaemonLogViewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/daemon/controller/PhabricatorDaemonLogViewController.php
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | $view = id(new PHUIPropertyListView()) | ||||
->setUser($viewer); | ->setUser($viewer); | ||||
$id = $daemon->getID(); | $id = $daemon->getID(); | ||||
$c_epoch = $daemon->getDateCreated(); | $c_epoch = $daemon->getDateCreated(); | ||||
$u_epoch = $daemon->getDateModified(); | $u_epoch = $daemon->getDateModified(); | ||||
$unknown_time = PhabricatorDaemonLogQuery::getTimeUntilUnknown(); | $unknown_time = PhabricatorDaemonLogQuery::getTimeUntilUnknown(); | ||||
$dead_time = PhabricatorDaemonLogQuery::getTimeUntilDead(); | $dead_time = PhabricatorDaemonLogQuery::getTimeUntilDead(); | ||||
$wait_time = PhutilDaemonOverseer::RESTART_WAIT; | $wait_time = PhutilDaemonHandle::getWaitBeforeRestart(); | ||||
$details = null; | $details = null; | ||||
$status = $daemon->getStatus(); | $status = $daemon->getStatus(); | ||||
switch ($status) { | switch ($status) { | ||||
case PhabricatorDaemonLog::STATUS_RUNNING: | case PhabricatorDaemonLog::STATUS_RUNNING: | ||||
$details = pht( | $details = pht( | ||||
'This daemon is running normally and reported a status update '. | 'This daemon is running normally and reported a status update '. | ||||
'recently (within %s).', | 'recently (within %s).', | ||||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |