@@ -20,10 +20,11 @@ const InitModeNew = "new"
2020const InitModeExisting = "existing"
2121
2222type Config struct {
23- InitMode string `json:"initMode"`
24- ExistingConfig map [string ]string `json:"existingConfig"`
25- PGParameters map [string ]string `json:"pgParameters"`
26- MaxStandbysPerSender int `json:"maxStandbysPerSender"`
23+ InitMode string `json:"initMode"`
24+ ExistingConfig map [string ]string `json:"existingConfig"`
25+ PGParameters map [string ]string `json:"pgParameters"`
26+ MaxStandbysPerSender int `json:"maxStandbysPerSender"`
27+ DeadKeeperRemovalInterval string `json:"deadKeeperRemovalInterval"`
2728}
2829
2930type KeeperState struct {
@@ -90,9 +91,10 @@ func InitConfig(filename string) (*Config, error) {
9091 }
9192
9293 cfg = Config {
93- InitMode : initMode ,
94- ExistingConfig : existingConfig ,
95- MaxStandbysPerSender : 50 ,
94+ InitMode : initMode ,
95+ ExistingConfig : existingConfig ,
96+ MaxStandbysPerSender : 50 ,
97+ DeadKeeperRemovalInterval : "1h" ,
9698 PGParameters : map [string ]string {
9799 "random_page_cost" : "1.1" ,
98100 "effective_io_concurrency" : "200" ,
0 commit comments