@@ -33,9 +33,8 @@ var DynamicSettings = [...]*protos.DynamicSetting{
3333 TargetForSetting : protos .DynconfTarget_ALL ,
3434 },
3535 {
36- Name : "PEERDB_NORMALIZE_CHANNEL_BUFFER_SIZE" ,
37- Description : "Advanced setting: changes buffer size of channel PeerDB uses for queueing normalization, " +
38- "use with PEERDB_ENABLE_PARALLEL_SYNC_NORMALIZE" ,
36+ Name : "PEERDB_NORMALIZE_CHANNEL_BUFFER_SIZE" ,
37+ Description : "Advanced setting: changes buffer size of channel PeerDB uses for queueing normalization" ,
3938 DefaultValue : "128" ,
4039 ValueType : protos .DynconfValueType_INT ,
4140 ApplyMode : protos .DynconfApplyMode_APPLY_MODE_AFTER_RESUME ,
@@ -89,14 +88,6 @@ var DynamicSettings = [...]*protos.DynamicSetting{
8988 ApplyMode : protos .DynconfApplyMode_APPLY_MODE_IMMEDIATE ,
9089 TargetForSetting : protos .DynconfTarget_ALL ,
9190 },
92- {
93- Name : "PEERDB_ENABLE_PARALLEL_SYNC_NORMALIZE" ,
94- Description : "Enables parallel sync (moving rows to target) and normalize (updating rows in target table)" ,
95- DefaultValue : "true" ,
96- ValueType : protos .DynconfValueType_BOOL ,
97- ApplyMode : protos .DynconfApplyMode_APPLY_MODE_AFTER_RESUME ,
98- TargetForSetting : protos .DynconfTarget_ALL ,
99- },
10091 {
10192 Name : "PEERDB_RECONNECT_AFTER_BATCHES" ,
10293 Description : "Force peerdb to reconnect connection to source after N batches" ,
@@ -557,10 +548,6 @@ func PeerDBWALHeartbeatQuery(ctx context.Context, env map[string]string) (string
557548 return dynLookup (ctx , env , "PEERDB_WAL_HEARTBEAT_QUERY" )
558549}
559550
560- func PeerDBEnableParallelSyncNormalize (ctx context.Context , env map [string ]string ) (bool , error ) {
561- return dynamicConfBool (ctx , env , "PEERDB_ENABLE_PARALLEL_SYNC_NORMALIZE" )
562- }
563-
564551func PeerDBReconnectAfterBatches (ctx context.Context , env map [string ]string ) (int32 , error ) {
565552 return dynamicConfSigned [int32 ](ctx , env , "PEERDB_RECONNECT_AFTER_BATCHES" )
566553}
0 commit comments