Skip to content

better handling of Docker timeouts - #865

Merged
ssalinas merged 4 commits into
masterfrom
docker_threading
Feb 8, 2016
Merged

ssalinas merged 4 commits into
masterfrom
docker_threading

Conversation

@ssalinas

Copy link
Copy Markdown
Contributor

@wsorenson this was my addition to #864

DockerUtils has a single threaded ExecutorService (we only need one call at a time right now anyways) that will execute each with a timeout. So, anything docker is not executed on the main thread that needs to keep going in order for the Executor to communicate with mesos.

Also adds a default thread pool of 5 for the docker client. The initial client was meant for managing large numbers of containers concurrently, thus the limit of 100.

@ssalinas ssalinas added the hs_qa label Jan 27, 2016

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Don't add the exception to an error message, include the exception as a cause argument.

@tpetr tpetr modified the milestone: 0.4.9 Jan 27, 2016
@tpetr tpetr modified the milestones: 0.4.9, 0.4.10 Feb 2, 2016
ssalinas added a commit that referenced this pull request Feb 8, 2016
better handling of Docker timeouts
@ssalinas
ssalinas merged commit 1f2d563 into master Feb 8, 2016
@ssalinas
ssalinas deleted the docker_threading branch February 8, 2016 13:44
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.

3 participants