Use events rather than Conduit to report daemon status in Phabricator

Summary: Ref T1670. Use events and direct database writes instead of Conduit. Deprecate the Conduit methods.

Test Plan: Ran daemons, used the console to review daemon event logs.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1670

Differential Revision: https://secure.phabricator.com/D6536
This commit is contained in:
epriestley
2013-07-23 12:10:02 -07:00
parent 9e0a299b06
commit 794dc0151a
8 changed files with 125 additions and 5 deletions

View File

@@ -131,8 +131,6 @@ abstract class PhabricatorDaemonManagementWorkflow
$flags[] = '--daemonize';
}
$flags[] = csprintf('--conduit-uri=%s', PhabricatorEnv::getURI('/api/'));
if (!$debug) {
$log_file = $this->getLogDirectory().'/daemons.log';
$flags[] = csprintf('--log=%s', $log_file);