Add a feature flag to reuse the last pos value for initial syncs (#5010)

This commit is contained in:
Jorge Martin Espinosa 2025-07-10 15:33:23 +02:00 committed by GitHub
parent 46a8a99b58
commit 61c9eb0780
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 12 additions and 1 deletions

View file

@ -175,4 +175,13 @@ enum class FeatureFlags(
// False so it's displayed in the developer options screen
isFinished = false,
),
SharePos(
key = "feature.share_pos",
title = "Share pos in sliding sync",
description = "Keep the sliding sync pos to make initial syncs faster. Requires an app restart to take effect." +
"\n\nWARNING: this may cause issues with syncs.",
defaultValue = { false },
// False so it's displayed in the developer options screen
isFinished = false,
),
}