From a25cd03a2f883c3e3f8e8d426275a787b957b1d1 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Dec 08 2017 09:10:56 +0000 Subject: Specify a different connection and read timeout Fixes https://pagure.io/pagure/issue/2834 (hopefully) Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure-ci/pagure_ci_server.py b/pagure-ci/pagure_ci_server.py index 16f3637..523451b 100644 --- a/pagure-ci/pagure_ci_server.py +++ b/pagure-ci/pagure_ci_server.py @@ -103,7 +103,7 @@ def handle_messages(): 'REPO': repo, 'BRANCH': branch }, - timeout=60, + timeout=(30, 60), ) except requests.exceptions.Timeout as err: _log.debug('Request timed-out: %s' % err)