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

configurable sleep time for Litestream.verify! #59

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

spinosa
Copy link

@spinosa spinosa commented Jan 20, 2025

When sync-interval is configured beyond the default, Litestream.verify! may appear to fail where it actually didn't wait long enough for replication.

This adds a parameter replication_sleep: to Litestream.verify! with a default of 10 for backwards compatibility.

While reading litestream.yml configuration to parse sync-interval and using a multiple of it might be nice, the added complexity didn't seem justified.

When sync-interval is configured beyond the default, verify may appear to fail where it actually didn't wait long enough for replication.
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.

1 participant