Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timeout option to core #219

Merged
merged 5 commits into from
Mar 15, 2021
Merged

Add timeout option to core #219

merged 5 commits into from
Mar 15, 2021

Conversation

enolfc
Copy link
Contributor

@enolfc enolfc commented Mar 10, 2021

Summary

Add timeout as a general option so it can be used everywhere.
Also add timeout to all the requests calls in the code.


Related issue : #216

@enolfc enolfc changed the title Move tiemout option to core Add timeout option to core Mar 10, 2021
@enolfc
Copy link
Contributor Author

enolfc commented Mar 10, 2021

Unfortunately there is no easy way to have a default timeout everywhere and we need to add it for every call or have a wrapper for every requests call (like OpenStack does)

@enolfc enolfc marked this pull request as ready for review March 10, 2021 14:58
Copy link
Member

@gwarf gwarf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gwarf gwarf merged commit e59aee0 into EGI-Federation:master Mar 15, 2021
@enolfc enolfc deleted the timeouts branch March 15, 2021 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants