mirror of
https://github.com/GSA/notifications-api.git
synced 2026-04-02 00:20:47 -04:00
Merge pull request #3481 from alphagov/service-callback-timeout
Reduce timeout for service callback attempt to 5 seconds
This commit is contained in:
@@ -68,7 +68,7 @@ def _send_data_to_service_callback_api(self, data, service_callback_url, token,
|
||||
'Content-Type': 'application/json',
|
||||
'Authorization': 'Bearer {}'.format(token)
|
||||
},
|
||||
timeout=60
|
||||
timeout=5
|
||||
)
|
||||
current_app.logger.info('{} sending {} to {}, response {}'.format(
|
||||
function_name,
|
||||
|
||||
Reference in New Issue
Block a user