 | 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
Syntaxpublic Task SetCacheMaximumSizeAsync(
int cacheMaximumSize
)
Public Function SetCacheMaximumSizeAsync (
cacheMaximumSize As Integer
) As Task
public:
Task^ SetCacheMaximumSizeAsync(
int cacheMaximumSize
)
member SetCacheMaximumSizeAsync :
cacheMaximumSize : int -> Task
Parameters
- cacheMaximumSize
- Type: SystemInt32
The maximum number of workflows to be cached.
Return Value
Type:
TaskThe tracking
Task.
See Also