Skip to content

Commit

Permalink
change timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
jefer94 committed Dec 9, 2024
1 parent fa19c7e commit e795640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion breathecode/services/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _call(self, method_name, action_name, params=None, json=None):
}

url = self.HOST + action_name
resp = requests.request(method=method_name, url=url, headers=self.headers, params=params, json=json, timeout=2)
resp = requests.request(method=method_name, url=url, headers=self.headers, params=params, json=json, timeout=20)

if resp.status_code >= 200 and resp.status_code < 300:
if method_name in ["DELETE", "HEAD"]:
Expand Down

0 comments on commit e795640

Please sign in to comment.