Skip to content

Commit

Permalink
chore(sync): bump slow sync version (WPB-5057) (#2174)
Browse files Browse the repository at this point in the history
* Commit with unresolved merge conflicts outside of

* chore: bump slow sync version to 6

Develop was bumped to 5, and RC also was bumped to 5. We need to make Develop to 6 so it will trigger an update on the next release from develop.

---------

Co-authored-by: Vitor Hugo Schwaab <[email protected]>
  • Loading branch information
github-actions[bot] and vitorhugods authored Oct 27, 2023
1 parent 07301bd commit 9d54a5b
Showing 1 changed file with 9 additions and 2 deletions.
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

0 comments on commit 9d54a5b

Please sign in to comment.