[sysadmin-bin] Revert "Wait up to 30s for command to finish"



commit e42d42597a58007187d7df94baeb1cc953c94bb3
Author: Andrea Veri <averi redhat com>
Date:   Thu Jul 16 17:10:09 2020 +0200

    Revert "Wait up to 30s for command to finish"
    
    This reverts commit 3287535b1704a031fdcc77097006a03f381af727.

 git/post-receive-mirror-github | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/git/post-receive-mirror-github b/git/post-receive-mirror-github
index c8cfd70..b2bafa5 100755
--- a/git/post-receive-mirror-github
+++ b/git/post-receive-mirror-github
@@ -186,7 +186,7 @@ def run_command(command):
     try:
         out = tempfile.NamedTemporaryFile(prefix="github",suffix="std")
         err = tempfile.NamedTemporaryFile(prefix="github",suffix="err")
-        subprocess.check_call(shlex.split(command), stderr=subprocess.PIPE, stdout=out, timeout=30)
+        subprocess.check_call(shlex.split(command), stderr=subprocess.PIPE, stdout=out)
         out.close()
         err.close()
     except subprocess.CalledProcessError:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]