Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13230514
D17433.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.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
Tue, May 21, 11:01 PM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6287363
Default Alt Text
D17433.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