From bc670611ef042885958ade4e25a2cfba08f56081 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Tue, 23 Aug 2016 12:50:38 -0400 Subject: [PATCH] Increase the timeout on the atomic lock Some nodes were still performing the action twice when falling outside of the 30s window --- buildman/manager/ephemeral.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildman/manager/ephemeral.py b/buildman/manager/ephemeral.py index 81d864eeb..a8030362f 100644 --- a/buildman/manager/ephemeral.py +++ b/buildman/manager/ephemeral.py @@ -25,7 +25,7 @@ logger = logging.getLogger(__name__) ETCD_MAX_WATCH_TIMEOUT = 30 -ETCD_ATOMIC_OP_TIMEOUT = 30 +ETCD_ATOMIC_OP_TIMEOUT = 120 RETRY_IMMEDIATELY_TIMEOUT = 0 NO_WORKER_AVAILABLE_TIMEOUT = 10 DEFAULT_EPHEMERAL_API_TIMEOUT = 20