304
reachabilityCacheOpenWFExecutionTTL,
305
reachabilityCacheClosedWFExecutionTTL time.Duration,
307
>
return reachabilityCache{
308
>
openWFCache: cache.New(reachabilityCacheMaxSize, &cache.Options{TTL: reachabilityCacheOpenWFExecutionTTL}),
309
>
closedWFCache: cache.New(reachabilityCacheMaxSize, &cache.Options{TTL: reachabilityCacheClosedWFExecutionTTL}),
310
>
metricsHandler: handler,
311
>
visibilityMgr: visibilityMgr,
312
>
}
313
>
}
314
315
// Get retrieves the Workflow Count existence value based on the query-string key.