[arvados] updated: 2.6.0-229-g1488e3732
git repository hosting
git at public.arvados.org
Thu Jun 1 19:49:45 UTC 2023
Summary of changes:
lib/crunchrun/docker.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 1488e37321751c94c8da026b860c0ced2da9088e (commit)
from bc25d5adc43cf10b6df7dc28556aba083f34444a (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 1488e37321751c94c8da026b860c0ced2da9088e
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Fri May 26 15:26:12 2023 -0400
Increase WatchdogInterval and WatchdogThreshold
Quick workaround for customer, we should add these to the config file.
refs #20595
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/lib/crunchrun/docker.go b/lib/crunchrun/docker.go
index 8d8cdfc8b..b402637e9 100644
--- a/lib/crunchrun/docker.go
+++ b/lib/crunchrun/docker.go
@@ -34,7 +34,7 @@ const DockerAPIVersion = "1.35"
// Number of consecutive "inspect container" failures before
// concluding Docker is unresponsive, giving up, and cancelling the
// container.
-const dockerWatchdogThreshold = 3
+const dockerWatchdogThreshold = 5
type dockerExecutor struct {
containerUUID string
@@ -52,7 +52,7 @@ func newDockerExecutor(containerUUID string, logf func(string, ...interface{}),
// currently the minimum version we want to support.
client, err := dockerclient.NewClient(dockerclient.DefaultDockerHost, DockerAPIVersion, nil, nil)
if watchdogInterval < 1 {
- watchdogInterval = time.Minute
+ watchdogInterval = time.Minute * 2
}
return &dockerExecutor{
containerUUID: containerUUID,
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list