From 1cc321a4406e4e430e5bf1756e6ff89953d40033 Mon Sep 17 00:00:00 2001 From: Filip Valder Date: Wed, 16 Nov 2016 13:52:23 +0100 Subject: [PATCH] Default network timeouts --- module_build_service/config.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/module_build_service/config.py b/module_build_service/config.py index f6937dbf..c35943ec 100644 --- a/module_build_service/config.py +++ b/module_build_service/config.py @@ -200,6 +200,14 @@ class Config(object): 'type': list, 'default': [], 'desc': 'Allowed SCM URLs.'}, + 'net_timeout': { + 'type': int, + 'default': 120, + 'desc': 'Global network timeout for read/write operations, in seconds.'}, + 'net_retry_interval': { + 'type': int, + 'default': 30, + 'desc': 'Global network retry interval for read/write operations, in seconds.'}, } def __init__(self):