refactor(unified-storage): make datasyncer configurable (#97832)
This commit is contained in:
@@ -538,6 +538,10 @@ type Cfg struct {
|
||||
type UnifiedStorageConfig struct {
|
||||
DualWriterMode rest.DualWriterMode
|
||||
DualWriterPeriodicDataSyncJobEnabled 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.
|
||||
DataSyncerRecordsLimit int
|
||||
}
|
||||
|
||||
type InstallPlugin struct {
|
||||
|
||||
Reference in New Issue
Block a user