Skip to content

Commit

Permalink
Timeout callback requests after 1 sec
Browse files Browse the repository at this point in the history
  • Loading branch information
whabanks committed Aug 13, 2024
1 parent 9f3e6da commit d11521d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/celery/service_callback_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def _send_data_to_service_callback_api(self, data, service_callback_url, token,
"Content-Type": "application/json",
"Authorization": f"Bearer {token}",
},
timeout=5,
timeout=1,
)

current_app.logger.info(
Expand Down

0 comments on commit d11521d

Please sign in to comment.