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

chore(sync): bump slow sync version (WPB-5057) #2174

Merged
merged 2 commits into from
Oct 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,17 @@ internal class SlowSyncManager(
}

private companion object {
/**
* The current version of Slow Sync.
*
* By bumping this version, we can force all clients to perform a new Slow Sync.
* Useful when a new step is added to Slow Sync, or when we fix some bug in Slow Sync,
* and we'd like to get all users to take advantage of the fix.
*/
const val CURRENT_VERSION = 6

val MIN_RETRY_DELAY = 1.seconds
val MAX_RETRY_DELAY = 10.minutes
val MIN_TIME_BETWEEN_SLOW_SYNCS = 7.days
}
}

const val CURRENT_VERSION = 5 // bump this version to perform slow sync when some new feature flag was added
Loading