Page MenuHomePhabricator

D17433.diff
No OneTemporary

D17433.diff

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

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)

Event Timeline