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

Use a timeout when performing requests to remote urls #306

Open
capooti opened this issue Jun 16, 2017 · 2 comments
Open

Use a timeout when performing requests to remote urls #306

capooti opened this issue Jun 16, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@capooti
Copy link
Contributor

capooti commented Jun 16, 2017

I have the feeling that some celery tasks hangs indefinitely waiting for an http response from servers.
We should set timeouts for all tasks which perform requests to remote servers.

Two possible approaches:

  1. use timeout in celery task (easier)
  2. use timeout with requests, arcrest and owslib. I am not sure though if arcrest and owslib have the option to set a timeout
@capooti capooti added the celery label Jun 16, 2017
@capooti capooti added this to the 0.4 milestone Jun 16, 2017
@capooti capooti self-assigned this Jun 16, 2017
@capooti
Copy link
Contributor Author

capooti commented Jul 10, 2017

@thaorell can you look into this? Thanks

@capooti
Copy link
Contributor Author

capooti commented Aug 4, 2017

we should have it as a django settings, so we can change if needed. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants