Skip to content

Commit

Permalink
Increase timeout
Browse files Browse the repository at this point in the history
This is to avoid API timeouts
  • Loading branch information
richardhallett committed Apr 16, 2021
1 parent 4ea8144 commit cc2957f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viringo/services/datacite.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def api_call_get(url, params=None):
params=payload_str,
auth=requests.auth.HTTPBasicAuth(
config.DATACITE_API_ADMIN_USERNAME, config.DATACITE_API_ADMIN_PASSWORD),
timeout=30
timeout=120
)

return response

0 comments on commit cc2957f

Please sign in to comment.