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

Check if auto-sync is already running for a provider #844

Merged
merged 1 commit into from
Sep 24, 2022

Conversation

gammazero
Copy link
Collaborator

If auto-sync is already running for a provider, do not run another one.

When auto-sync is used to keep in sync, in the absence of announce messages, then it may be run on a small interval. This prevents auto-sync goroutines from building up if auto-sync is triggered while ingesting an advertisement chain.

If auto-sync is already running for a provider, do not run another one. If auto-sync is used to keep in sync, in the absence of announce messages, then it may be run on a small interval. This prevents auto-sync goroutines from building up if auto-sync is triggered while ingesting an advertisement chain.
@gammazero gammazero merged commit 158064d into main Sep 24, 2022
@gammazero gammazero deleted the check-autosync-running branch September 24, 2022 23:03
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