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

Delay reconnect log #2636

Merged
merged 3 commits into from
Mar 15, 2022
Merged

Delay reconnect log #2636

merged 3 commits into from
Mar 15, 2022

Conversation

kobergj
Copy link
Contributor

@kobergj kobergj commented Mar 15, 2022

When services are connecting to nats server but don't succeed they print a message like

can't connect to nats (stan) server, retrying in 676.400829ms

This is confusing for the end user as it is not an error if this message only appears once. For avoiding the confusion we will only log this when the reconnect is bigger than a second already

@update-docs
Copy link

update-docs bot commented Mar 15, 2022

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

Signed-off-by: jkoberg <[email protected]>
@kobergj kobergj requested review from glpatcern and a team as code owners March 15, 2022 10:05
@kobergj kobergj requested a review from dragotin March 15, 2022 10:05
pkg/events/server/nats.go Outdated Show resolved Hide resolved
Signed-off-by: jkoberg <[email protected]>
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