Click or drag to resize

TemporalClientSetCacheMaximumSizeAsync Method

Sets the maximum number of sticky workflows for which of history will be retained for workflow workers created by this client as a performance optimization. When this is exceeded, Temporal will may need to retrieve the entire workflow history from the Temporal cluster when a workflow is scheduled on the client's workers.

This defaults to 10K sticky workflows.

Namespace:  Neon.Temporal
Assembly:  Neon.Temporal (in Neon.Temporal.dll) Version: 2.10.0-alpha
Syntax
public Task SetCacheMaximumSizeAsync(
	int cacheMaximumSize
)

Parameters

cacheMaximumSize
Type: SystemInt32
The maximum number of workflows to be cached.

Return Value

Type: Task
The tracking Task.
See Also