diff --git a/common/dynamicconfig/constants.go b/common/dynamicconfig/constants.go index d535a722cb2..26914c84ea8 100644 --- a/common/dynamicconfig/constants.go +++ b/common/dynamicconfig/constants.go @@ -1239,12 +1239,12 @@ will wait on workflow lock acquisition. Requires service restart to take effect. ) EnableHostHistoryCache = NewGlobalBoolSetting( "history.enableHostHistoryCache", - false, + true, `EnableHostHistoryCache controls if the history cache is host level`, ) HistoryCacheHostLevelMaxSize = NewGlobalIntSetting( "history.hostLevelCacheMaxSize", - 256000, + 128000, `HistoryCacheHostLevelMaxSize is the maximum number of entries in the host level history cache`, ) HistoryCacheHostLevelMaxSizeBytes = NewGlobalIntSetting( diff --git a/config/dynamicconfig/development-cass.yaml b/config/dynamicconfig/development-cass.yaml index bcb690999bd..b2dc3792218 100644 --- a/config/dynamicconfig/development-cass.yaml +++ b/config/dynamicconfig/development-cass.yaml @@ -54,3 +54,5 @@ history.ReplicationEnableUpdateWithNewTaskMerge: - value: true history.enableWorkflowExecutionTimeoutTimer: - value: true +history.hostLevelCacheMaxSize: + - value: 8192 diff --git a/config/dynamicconfig/development-sql.yaml b/config/dynamicconfig/development-sql.yaml index 46188cf9983..05f81d3624a 100644 --- a/config/dynamicconfig/development-sql.yaml +++ b/config/dynamicconfig/development-sql.yaml @@ -57,3 +57,5 @@ history.ReplicationEnableUpdateWithNewTaskMerge: - value: true history.enableWorkflowExecutionTimeoutTimer: - value: true +history.hostLevelCacheMaxSize: + - value: 8192