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(config-reloader): add timeout seconds on startup #190

Conversation

Cryptophobia
Copy link
Contributor

@Cryptophobia Cryptophobia commented Mar 31, 2021

  • fix race condition when config-reloader start or restarts
  • add a timeout default to 30 seconds, that is between 0 - 120 seconds based on cfg.ExecTimeoutSeconds

Signed-off-by: Anton Ouzounov aouzounov@vmware.com

@slimm609
Copy link
Contributor

/lgtm

@Cryptophobia Cryptophobia force-pushed the fix-golang-fluentd-race-condition-on-init branch from 4203dcb to 70f39eb Compare March 31, 2021 16:21
@Cryptophobia Cryptophobia force-pushed the fix-golang-fluentd-race-condition-on-init branch 2 times, most recently from c805f71 to d4377ef Compare March 31, 2021 18:51
  - fix race condition when config-reloader start or restarts
  - add a timeout default to 30 seconds, that is between 0 - 60 seconds based on cfg.ExecTimeoutSeconds

Signed-off-by: Anton Ouzounov <aouzounov@vmware.com>
@Cryptophobia Cryptophobia force-pushed the fix-golang-fluentd-race-condition-on-init branch from d4377ef to e8984fa Compare March 31, 2021 18:53
@Cryptophobia Cryptophobia merged commit 5df0d76 into vmware:master Mar 31, 2021
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.

None yet

2 participants