Skip to content

Reduce timeout on requests to task sandboxes#1479

Merged
ssalinas merged 2 commits into
masterfrom
browse-sandbox-timeout
Apr 4, 2017
Merged

Reduce timeout on requests to task sandboxes#1479
ssalinas merged 2 commits into
masterfrom
browse-sandbox-timeout

Conversation

@PtrTeixeira
Copy link
Copy Markdown
Contributor

Previously there was a timeout associated with http request fetching the log files from the task sandbox, but not one associated with browsing the task's sandbox. This adds the same timeout period to browsing the sandbox. It also slightly drops the timeout period on the request, from 5 seconds to 2 seconds.

Previously there was a configurable timeout applied to the http request
involved in grabbing the logs dor tailing, but not one associated with
grabbing the sandbox environment for a task. This applies the same
timeout the grbbing the sandbox for a task.
Drop the default timeout on HTTP requests to the sandbox from 5 seconds
to 2 seconds.
@ssalinas
Copy link
Copy Markdown
Contributor

👍 will be good to have a timeout on both in case the slave isn't responding. Most calls to read/browse seem to easily be under 500ms when working properly.

@ssalinas ssalinas modified the milestone: 0.15.0 Mar 30, 2017
@ssalinas ssalinas merged commit 5d6fea5 into master Apr 4, 2017
@ssalinas ssalinas deleted the browse-sandbox-timeout branch April 4, 2017 15:37
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