public inbox for buildbot@sourceware.org
 help / color / mirror / Atom feed
* [COMMITTED] Set DockerLatentWorker build_wait_timeout to 5 minutes
@ 2022-06-03 23:28 Mark Wielaard
  0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2022-06-03 23:28 UTC (permalink / raw)
  To: buildbot; +Cc: Mark Wielaard

Keep the container around for 5 minutes so it can immediately
be reused for another build.
---
 builder/master.cfg | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/builder/master.cfg b/builder/master.cfg
index 0c270f5..b7ccfb7 100644
--- a/builder/master.cfg
+++ b/builder/master.cfg
@@ -142,7 +142,7 @@ bb1_worker = worker.DockerLatentWorker("bb1",
                            docker_host="ssh://builder@bb.wildebeest.org:2021",
                            dockerfile=util.Interpolate('%(prop:container-file)s'),
                            volumes=["/home/builder/shared:/home/builder/shared"],
-                           build_wait_timeout=0,
+                           build_wait_timeout=60 * 5,
                            max_builds=1,
                            properties={'ncpus': 8});
 c['workers'].append(bb1_worker)
@@ -153,7 +153,7 @@ bb2_worker = worker.DockerLatentWorker("bb2",
                            docker_host="ssh://builder@bb.wildebeest.org:2022",
                            dockerfile=util.Interpolate('%(prop:container-file)s'),
                            volumes=["/home/builder/shared:/home/builder/shared"],
-                           build_wait_timeout=0,
+                           build_wait_timeout=60 * 5,
                            max_builds=1,
                            properties={'ncpus': 8});
 c['workers'].append(bb2_worker)
@@ -164,7 +164,7 @@ bb3_worker = worker.DockerLatentWorker("bb3",
                            docker_host="ssh://builder@bb.wildebeest.org:2023",
                            dockerfile=util.Interpolate('%(prop:container-file)s'),
                            volumes=["/home/builder/shared:/home/builder/shared"],
-                           build_wait_timeout=0,
+                           build_wait_timeout=60 * 5,
                            max_builds=1,
                            properties={'ncpus': 8});
 c['workers'].append(bb3_worker)
-- 
2.30.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-03 23:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-03 23:28 [COMMITTED] Set DockerLatentWorker build_wait_timeout to 5 minutes Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).