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

[docker backend] - Add config flag to set refreshSeconds for swarmmode ticker #4105

Merged
merged 3 commits into from Nov 27, 2018
Merged

[docker backend] - Add config flag to set refreshSeconds for swarmmode ticker #4105

merged 3 commits into from Nov 27, 2018

Conversation

WTFKr0
Copy link
Contributor

@WTFKr0 WTFKr0 commented Oct 24, 2018

What does this PR do?

This PR allow user to set a custom refresh interval for polling swarm mode socket for docker backend
The default value is 15
The new flag to set in config is --docker.refreshSeconds

Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

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

Hello @WTFKr0

Many thanks for this PR, only one comment.

provider/docker/docker.go Outdated Show resolved Hide resolved
Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

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

Sorry, I did not choose the good status... Monday morning... 😉

Copy link
Collaborator

@SantoDE SantoDE left a comment

Choose a reason for hiding this comment

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

Apart from the change mentioned by @nmengin => LGTM 👼

Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

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

Another comment @WTFKr0 ... 😄

cmd/configuration.go Outdated Show resolved Hide resolved
@ldez
Copy link
Member

ldez commented Nov 20, 2018

Could you rebase on v1.7?

WTFKr0 and others added 3 commits November 27, 2018 17:02
Default to 15

Signed-off-by: WTFKr0 <thomas.kovatchitch@gmail.com>
Signed-off-by: WTFKr0 <thomas.kovatchitch@gmail.com>
@WTFKr0 WTFKr0 requested a review from a team as a code owner November 27, 2018 16:11
@mmatur mmatur changed the base branch from master to v1.7 November 27, 2018 16:11
@mmatur mmatur added this to the 1.7 milestone Nov 27, 2018
@mmatur mmatur removed the request for review from a team November 27, 2018 16:13
Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

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

LGTM

@WTFKr0
Copy link
Contributor Author

WTFKr0 commented Nov 27, 2018

Thanx for taking this !

@WTFKr0 WTFKr0 deleted the docker-refreshseconds branch November 27, 2018 22:56
@ldez ldez mentioned this pull request Dec 4, 2018
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants