From deb5c2eed8b41a9fa1f1fd08cc496921f3529798 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 8 Oct 2021 10:24:35 -0400 Subject: [PATCH] Fix potential delay in ssh-agent start Be consistent with other check_output calls to allow eventlet to properly background the process. --- confluent_server/confluent/sshutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/sshutil.py b/confluent_server/confluent/sshutil.py index a62d7148..8faa0692 100644 --- a/confluent_server/confluent/sshutil.py +++ b/confluent_server/confluent/sshutil.py @@ -43,7 +43,7 @@ def assure_agent(): if agent_pid is None: try: agent_starting = True - sai = subprocess.check_output(['ssh-agent']) + sai = subprocess.check_output(['ssh-agent'], timeout=86400) for line in sai.split(b'\n'): if b';' not in line: continue