Page MenuHomePhabricator

D17408.id41863.diff
No OneTemporary

D17408.id41863.diff

diff --git a/src/infrastructure/daemon/workers/PhabricatorTriggerDaemon.php b/src/infrastructure/daemon/workers/PhabricatorTriggerDaemon.php
--- a/src/infrastructure/daemon/workers/PhabricatorTriggerDaemon.php
+++ b/src/infrastructure/daemon/workers/PhabricatorTriggerDaemon.php
@@ -108,6 +108,11 @@
$sleep_duration = $this->runNuanceImportCursors($sleep_duration);
$sleep_duration = $this->runGarbageCollection($sleep_duration);
$sleep_duration = $this->runCalendarNotifier($sleep_duration);
+
+ if ($this->shouldHibernate($sleep_duration)) {
+ break;
+ }
+
$this->sleep($sleep_duration);
} while (!$this->shouldExit());
}

File Metadata

Mime Type
text/plain
Expires
Sat, Sep 21, 1:37 PM (21 h, 56 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6625739
Default Alt Text
D17408.id41863.diff (678 B)

Event Timeline