fix: make data syncer run configurable on mode (2->3) change (#104401)

This commit is contained in:
Mustafa Sencer Özcan
2025-04-25 13:43:35 +02:00
committed by GitHub
parent 43d0053c80
commit ebf3a8d205
7 changed files with 23 additions and 1 deletions
+1
View File
@@ -556,6 +556,7 @@ type Cfg struct {
type UnifiedStorageConfig struct {
DualWriterMode rest.DualWriterMode
DualWriterPeriodicDataSyncJobEnabled bool
DualWriterMigrationDataSyncDisabled bool
// DataSyncerInterval defines how often the data syncer should run for a resource on the grafana instance.
DataSyncerInterval time.Duration
// DataSyncerRecordsLimit defines how many records will be processed at max during a sync invocation.