Skip to content

Commit

Permalink
Increase visibility RPS and burst dynamic configs for integration tes…
Browse files Browse the repository at this point in the history
…ts (#3221)
  • Loading branch information
rodrigozhou authored Oct 19, 2022
1 parent 8a7538a commit 8d645e8
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions host/dynamicconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,19 @@ const NamespaceCacheRefreshInterval = time.Second
var (
// Override values for dynamic configs
staticOverrides = map[dynamicconfig.Key]any{
dynamicconfig.FrontendRPS: 3000,
dynamicconfig.FrontendESIndexMaxResultWindow: defaultTestValueOfESIndexMaxResultWindow,
dynamicconfig.TimerProcessorHistoryArchivalSizeLimit: 5 * 1024,
dynamicconfig.ReplicationTaskProcessorErrorRetryMaxAttempts: 1,
dynamicconfig.AdvancedVisibilityWritingMode: visibility.AdvancedVisibilityWritingModeOff,
dynamicconfig.WorkflowTaskHeartbeatTimeout: 5 * time.Second,
dynamicconfig.ReplicationTaskFetcherAggregationInterval: 200 * time.Millisecond,
dynamicconfig.ReplicationTaskFetcherErrorRetryWait: 50 * time.Millisecond,
dynamicconfig.ReplicationTaskProcessorErrorRetryWait: time.Millisecond,
dynamicconfig.ClusterMetadataRefreshInterval: 100 * time.Millisecond,
dynamicconfig.NamespaceCacheRefreshInterval: NamespaceCacheRefreshInterval,
dynamicconfig.FrontendRPS: 3000,
dynamicconfig.FrontendESIndexMaxResultWindow: defaultTestValueOfESIndexMaxResultWindow,
dynamicconfig.FrontendMaxNamespaceVisibilityRPSPerInstance: 50,
dynamicconfig.FrontendMaxNamespaceVisibilityBurstPerInstance: 50,
dynamicconfig.TimerProcessorHistoryArchivalSizeLimit: 5 * 1024,
dynamicconfig.ReplicationTaskProcessorErrorRetryMaxAttempts: 1,
dynamicconfig.AdvancedVisibilityWritingMode: visibility.AdvancedVisibilityWritingModeOff,
dynamicconfig.WorkflowTaskHeartbeatTimeout: 5 * time.Second,
dynamicconfig.ReplicationTaskFetcherAggregationInterval: 200 * time.Millisecond,
dynamicconfig.ReplicationTaskFetcherErrorRetryWait: 50 * time.Millisecond,
dynamicconfig.ReplicationTaskProcessorErrorRetryWait: time.Millisecond,
dynamicconfig.ClusterMetadataRefreshInterval: 100 * time.Millisecond,
dynamicconfig.NamespaceCacheRefreshInterval: NamespaceCacheRefreshInterval,
}
)

Expand Down

0 comments on commit 8d645e8

Please # to comment.