[arvados] updated: 2.6.2-5-g97aca635a

git repository hosting git at public.arvados.org
Fri May 26 19:28:51 UTC 2023


Summary of changes:
 lib/crunchrun/docker.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  97aca635adc2fc448e47984fe1c8974b44f7a656 (commit)
      from  ddf903edff243796522dedac0a48f9726748cf02 (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 97aca635adc2fc448e47984fe1c8974b44f7a656
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