Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15424966
D11892.id28651.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
699 B
Referenced Files
None
Subscribers
None
D11892.id28651.diff
View Options
diff --git a/src/daemon/PhutilDaemonOverseer.php b/src/daemon/PhutilDaemonOverseer.php
--- a/src/daemon/PhutilDaemonOverseer.php
+++ b/src/daemon/PhutilDaemonOverseer.php
@@ -347,9 +347,12 @@
}
public function didReceiveGracefulSignal($signo) {
- // If we receive SIGINT more than once, interpret it like SIGTERM.
+ // If we receive SIGINT more than once, continue shutting
+ // down gracefully. If the user wants to force a shutdown
+ // of daemons, they can use "--graceful 0" (or wait the
+ // default 15 seconds).
if ($this->inGracefulShutdown) {
- return $this->didReceiveTerminalSignal($signo);
+ return;
}
$this->inGracefulShutdown = true;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 24 2025, 1:23 AM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7712798
Default Alt Text
D11892.id28651.diff (699 B)
Attached To
Mode
D11892: Do not treat two graceful signals as SIGTERM
Attached
Detach File
Event Timeline
Log In to Comment