Skip to content

Commit

Permalink
Enalbe batch job feature by default and update dynamic config docs (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng authored Aug 10, 2021
1 parent 70bc150 commit b32af80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions common/dynamicconfig/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -1778,7 +1778,7 @@ const (
// EnableBatcher is decides whether start batcher in our worker
// KeyName: worker.enableBatcher
// Value type: Bool
// Default value: FALSE
// Default value: TRUE
// Allowed filters: N/A
EnableBatcher
// EnableParentClosePolicyWorker is decides whether or not enable system workers for processing parent close policy task
Expand All @@ -1796,13 +1796,13 @@ const (
// EnableFailoverManager is indicates if failover manager is enabled
// KeyName: system.enableFailoverManager
// Value type: Bool
// Default value: FALSE
// Default value: TRUE
// Allowed filters: N/A
EnableFailoverManager
// EnableWorkflowShadower indicates if workflow shadower is enabled
// KeyName: system.enableWorkflowShadower
// Value type: Bool
// Default value: FALSE
// Default value: TRUE
// Allowed filters: N/A
EnableWorkflowShadower
// ConcreteExecutionFixerDomainAllow is which domains are allowed to be fixed by concrete fixer workflow
Expand Down
2 changes: 1 addition & 1 deletion service/worker/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func NewConfig(params *service.BootstrapParams) *Config {
AdminOperationToken: dc.GetStringProperty(dynamicconfig.AdminOperationToken, common.DefaultAdminOperationToken),
ClusterMetadata: params.ClusterMetadata,
},
EnableBatcher: dc.GetBoolProperty(dynamicconfig.EnableBatcher, false),
EnableBatcher: dc.GetBoolProperty(dynamicconfig.EnableBatcher, true),
EnableParentClosePolicyWorker: dc.GetBoolProperty(dynamicconfig.EnableParentClosePolicyWorker, true),
EnableFailoverManager: dc.GetBoolProperty(dynamicconfig.EnableFailoverManager, true),
EnableWorkflowShadower: dc.GetBoolProperty(dynamicconfig.EnableWorkflowShadower, true),
Expand Down

0 comments on commit b32af80

Please sign in to comment.