[arvados] updated: 2.7.0-5000-g528c6dfb58
git repository hosting
git at public.arvados.org
Tue Oct 17 14:03:21 UTC 2023
Summary of changes:
lib/dispatchcloud/worker/pool.go | 1 +
1 file changed, 1 insertion(+)
via 528c6dfb58318bca6deefc3f1097122ddd735203 (commit)
from 614e675e6706505bab6d15aaf916d6c2e4ec1de0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 528c6dfb58318bca6deefc3f1097122ddd735203
Author: Tom Clegg <tom at curii.com>
Date: Tue Oct 17 10:02:19 2023 -0400
20984: Wake up scheduler whenever AtCapacity condition expires.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>
diff --git a/lib/dispatchcloud/worker/pool.go b/lib/dispatchcloud/worker/pool.go
index fc9f5445d6..13c369d0c6 100644
--- a/lib/dispatchcloud/worker/pool.go
+++ b/lib/dispatchcloud/worker/pool.go
@@ -393,6 +393,7 @@ func (wp *Pool) Create(it arvados.InstanceType) bool {
wp.atCapacityUntil = map[string]time.Time{}
}
wp.atCapacityUntil[capKey] = time.Now().Add(capacityErrorTTL)
+ time.AfterFunc(capacityErrorTTL, wp.notify)
}
logger.WithError(err).Error("create failed")
wp.instanceSet.throttleCreate.CheckRateLimitError(err, wp.logger, "create instance", wp.notify)
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list