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
Flag For Later
Award Token
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
.
Log In to Comment