Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13958929
D12088.id29076.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D12088.id29076.diff
View Options
diff --git a/src/applications/config/check/PhabricatorDaemonsSetupCheck.php b/src/applications/config/check/PhabricatorDaemonsSetupCheck.php
--- a/src/applications/config/check/PhabricatorDaemonsSetupCheck.php
+++ b/src/applications/config/check/PhabricatorDaemonsSetupCheck.php
@@ -10,7 +10,7 @@
$task_daemon = id(new PhabricatorDaemonLogQuery())
->setViewer(PhabricatorUser::getOmnipotentUser())
- ->withStatus(PhabricatorDaemonLogQuery::STATUS_ALIVE)
+ ->withStatus(PhabricatorDaemonLogQuery::STATUS_RUNNING)
->withDaemonClasses(array('PhabricatorTaskmasterDaemon'))
->setLimit(1)
->execute();
diff --git a/src/applications/daemon/query/PhabricatorDaemonLogQuery.php b/src/applications/daemon/query/PhabricatorDaemonLogQuery.php
--- a/src/applications/daemon/query/PhabricatorDaemonLogQuery.php
+++ b/src/applications/daemon/query/PhabricatorDaemonLogQuery.php
@@ -5,6 +5,7 @@
const STATUS_ALL = 'status-all';
const STATUS_ALIVE = 'status-alive';
+ const STATUS_RUNNING = 'status-running';
private $ids;
private $notIDs;
@@ -170,6 +171,10 @@
switch ($status) {
case self::STATUS_ALL:
return array();
+ case self::STATUS_RUNNING:
+ return array(
+ PhabricatorDaemonLog::STATUS_RUNNING,
+ );
case self::STATUS_ALIVE:
return array(
PhabricatorDaemonLog::STATUS_UNKNOWN,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 15 2024, 5:03 PM (5 w, 35 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6710744
Default Alt Text
D12088.id29076.diff (1 KB)
Attached To
Mode
D12088: Examine fewer daemons for variant config
Attached
Detach File
Event Timeline
Log In to Comment