From 8d645e85c0f12c20d867ad6d2776ae4fbfea28db Mon Sep 17 00:00:00 2001 From: Rodrigo Zhou Date: Wed, 19 Oct 2022 00:37:18 -0700 Subject: [PATCH] Increase visibility RPS and burst dynamic configs for integration tests (#3221) --- host/dynamicconfig.go | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/host/dynamicconfig.go b/host/dynamicconfig.go index 3351e89f78e..4ed32ea1dbe 100644 --- a/host/dynamicconfig.go +++ b/host/dynamicconfig.go @@ -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, } )