Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15428855
D17433.id41916.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
886 B
Referenced Files
None
Subscribers
None
D17433.id41916.diff
View Options
diff --git a/src/daemon/PhutilDaemonPool.php b/src/daemon/PhutilDaemonPool.php
--- a/src/daemon/PhutilDaemonPool.php
+++ b/src/daemon/PhutilDaemonPool.php
@@ -178,7 +178,14 @@
$daemon->update();
if ($daemon->isDone()) {
- unset($daemons[$key]);
+ unset($this->daemons[$key]);
+
+ $this->logMessage(
+ 'POOL',
+ pht(
+ 'Autoscale pool "%s" scaled down to %s daemon(s).',
+ $this->getPoolLabel(),
+ new PhutilNumber(count($this->daemons))));
}
}
@@ -203,7 +210,7 @@
$this->logMessage(
'POOL',
pht(
- 'Autoscale pool "%s" already at maximum size (%d of %d).',
+ 'Autoscale pool "%s" already at maximum size (%s of %s).',
$this->getPoolLabel(),
new PhutilNumber(count($daemons)),
new PhutilNumber($max_size)));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 24 2025, 10:49 PM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7707396
Default Alt Text
D17433.id41916.diff (886 B)
Attached To
Mode
D17433: Fix an issue where daemons can stick in a pool
Attached
Detach File
Event Timeline
Log In to Comment