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

fix race between adding tags and registering services with the connection manager #6373

Merged
merged 1 commit into from
May 23, 2019

Conversation

Stebalien
Copy link
Member

Hopefully helps fix #6271 and a bunch of other related issues.

…tion manager

Hopefully helps fix #6271 and a bunch of other related issues.
@Stebalien Stebalien merged commit af6cfb5 into master May 23, 2019
@Stebalien Stebalien deleted the fix/connmgr-tagging branch May 23, 2019 17:12
@Stebalien Stebalien restored the fix/connmgr-tagging branch May 30, 2019 22:35
@makew0rld
Copy link
Contributor

Hi @Stebalien. Over here I was wondering about something and told I should come ask in this repo.

How large is the window between both nodes running it? If one connects, and then another runs the command an hour later, will it still work? 5 minutes later? A day?

@Stebalien
Copy link
Member Author

The default grace period is 30 seconds. Basically, if no subsystem decides that the connection is useful within 30 seconds, we may kill it the next time the connection manager culls connections.

@makew0rld
Copy link
Contributor

makew0rld commented Jun 4, 2019

Is this the same thing as the GracePeriod value in config? Or is it unrelated.

@Stebalien
Copy link
Member Author

It's the same one.

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.

New 0.4.20 swarm connect "important" functionality doesn't work.
2 participants