mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
WIP - adding request timeout
This commit is contained in:
@@ -55,7 +55,8 @@ def make_request(notification_type, provider, data, headers):
|
||||
"POST",
|
||||
api_call,
|
||||
headers=headers,
|
||||
data=data
|
||||
data=data,
|
||||
timeout=5
|
||||
)
|
||||
response.raise_for_status()
|
||||
except RequestException as e:
|
||||
|
||||
Reference in New Issue
Block a user