Skip to content

Commit

Permalink
Update sync shard interval to 5 mins (cadence-workflow#3119)
Browse files Browse the repository at this point in the history
  • Loading branch information
yux0 authored Mar 16, 2020
1 parent e3eab7f commit a015671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/history/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ func NewConfig(dc *dynamicconfig.Collection, numberOfShards int, storeType strin
MaximumBufferedEventsBatch: dc.GetIntProperty(dynamicconfig.MaximumBufferedEventsBatch, 100),
MaximumSignalsPerExecution: dc.GetIntPropertyFilteredByDomain(dynamicconfig.MaximumSignalsPerExecution, 0),
ShardUpdateMinInterval: dc.GetDurationProperty(dynamicconfig.ShardUpdateMinInterval, 5*time.Minute),
ShardSyncMinInterval: dc.GetDurationProperty(dynamicconfig.ShardSyncMinInterval, 2*time.Minute),
ShardSyncMinInterval: dc.GetDurationProperty(dynamicconfig.ShardSyncMinInterval, 5*time.Minute),
ShardSyncTimerJitterCoefficient: dc.GetFloat64Property(dynamicconfig.TransferProcessorMaxPollIntervalJitterCoefficient, 0.15),

// history client: client/history/client.go set the client timeout 30s
Expand Down

0 comments on commit a015671

Please sign in to comment.