Skip to content

Commit

Permalink
change configs
Browse files Browse the repository at this point in the history
  • Loading branch information
shashank-huddedar committed Jan 31, 2024
1 parent fbd53ac commit 6fd0e3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 34 deletions.
32 changes: 1 addition & 31 deletions conf/conf.docker.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"MaxNumConnections" : 4
}
},
"EntityHistorySize": 1000
"EntityHistorySize": 100
},
"ScheduleDB": {
"ScheduleKeySpace": "schedule_management",
Expand Down Expand Up @@ -90,41 +90,11 @@
"Window": 5,
"Routines": 10
},
"GoLimitConfig": {
"Host": "<hostname>",
"ClusterName": "golimit",
"RateLimitConfig": {
"RejectRequests": false,
"RateLimit": {
"CREATE_SCHEDULE": {
"default": {
"Window": 60,
"Threshold": 1200
}
},
"DELETE_SCHEDULE": {
"default": {
"Window": 60,
"Threshold": 1000
}
}
}
},
"TChannelPort": "2479",
"UnsyncedTimeLimitMS": 2000,
"UnsyncedCtrlLimit": 10,
"Seed": "service1:2479,service2:2479",
"Enable": true
},
"BulkActionConfig": {
"AppName": "goscheduler",
"EventName": "bulkAction",
"HistorySize": 2,
"BufferSize": 1000,
"Routines": 10
},
"CallBackCounter": {
"Offset": 2,
"Window": 2
}
}
2 changes: 1 addition & 1 deletion conf/conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"MaxNumConnections" : 4
}
},
"EntityHistorySize": 1000
"EntityHistorySize": 100
},
"ScheduleDB": {
"ScheduleKeySpace": "schedule_management",
Expand Down
4 changes: 2 additions & 2 deletions conf/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ type StatusUpdateConfig struct {

// NodeCrashReconcile represents the configuration options for reconciling node crashes.
type NodeCrashReconcile struct {
NeedsReconcile bool `json:"needsReconcile,omitempty"`
ReconcileOffset int `json:"reconcileOffset,omitempty"`
NeedsReconcile bool
ReconcileOffset int
}

// TODO: Need to take care of maintaining history for delete action
Expand Down

0 comments on commit 6fd0e3f

Please sign in to comment.