Change the default pagure module timeout to 300 seconds
The 60 seconds is still not enough for project creation, let's increase this to 300 seconds. Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
16ab7a52ff
commit
584d2f42c2
1 changed files with 2 additions and 2 deletions
|
@ -66,8 +66,8 @@ class Pagure:
|
|||
raise ValueError("No pagure_api_key found in the configuration file")
|
||||
|
||||
# The API calls could sometimes take more than the default 5 seconds
|
||||
# let's increase this to 60
|
||||
self._requests_session = requests.make_session(timeout=60)
|
||||
# let's increase this to 300
|
||||
self._requests_session = requests.make_session(timeout=300)
|
||||
|
||||
def get_auth_header(self) -> dict:
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue