From 01ca5910ecb463dcb1e546ce26e499e0614afeb9 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Tue, 4 Jul 2017 23:49:27 +0200 Subject: [PATCH] increase ControlPersist to 30 to workaround #542 Signed-off-by: Steven Armstrong --- cdist/util/remoteutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/util/remoteutil.py b/cdist/util/remoteutil.py index 2bd12fdf..4950ef8b 100644 --- a/cdist/util/remoteutil.py +++ b/cdist/util/remoteutil.py @@ -36,7 +36,7 @@ def inspect_ssh_mux_opts(): wanted_mux_opts = { "ControlPath": "{}", "ControlMaster": "auto", - "ControlPersist": "10", + "ControlPersist": "30", } mux_opts = " ".join([" -o {}={}".format( x, wanted_mux_opts[x]) for x in wanted_mux_opts])