Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P1886
PhabricatorDebugDaemon.php
Active
Public
Actions
Authored by
joshuaspence
on Nov 10 2015, 7:51 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
Daemons
Referenced Files
F959613: PhabricatorDebugDaemon.php
Feb 24 2016, 1:31 AM
2016-02-24 01:31:56 (UTC+0)
Subscribers
None
<?php
final
class
PhabricatorDebugDaemon
extends
PhabricatorDaemon
{
protected
function
run
()
{
do
{
PhabricatorCaches
::
destroyRequestCache
();
echo
PhabricatorEnv
::
calculateEnvironmentHash
();
$this
->
sleep
(
1
);
}
while
(!
$this
->
shouldExit
());
}
}
Event Timeline
joshuaspence
changed the title of this paste from untitled to
PhabricatorDebugDaemon.php
.
Nov 10 2015, 7:51 PM
2015-11-10 19:51:21 (UTC+0)
joshuaspence
edited the content of this paste.
(Show Details)
joshuaspence
added a project:
Daemons
.
joshuaspence
mentioned this in
D14452: Add daemon overseer modules to allow daemons to be externally reloaded
.
joshuaspence
mentioned this in
D14458: Add a daemon overseer module to restart daemons when config changes
.
Nov 10 2015, 8:08 PM
2015-11-10 20:08:50 (UTC+0)
joshuaspence
mentioned this in
rPa07a8aca2462: Add a daemon overseer module to restart daemons when config changes
.
Nov 10 2015, 9:44 PM
2015-11-10 21:44:32 (UTC+0)
Log In to Comment