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
4 changed files with 12 additions and 1 deletions
@@ -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,
),
}