Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14042947
D17408.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
678 B
Referenced Files
None
Subscribers
None
D17408.id.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 13, 7:02 AM (22 h, 20 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6729453
Default Alt Text
D17408.id.diff (678 B)
Attached To
Mode
D17408: Allow the Trigger daemon to hibernate, reducing processes to 0
Attached
Detach File
Event Timeline
Log In to Comment