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.14.0-alpha
public Task SetCacheMaximumSizeAsync(
	int cacheMaximumSize


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

Return Value

Type: Task
The tracking Task.
See Also