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.
public Task SetCacheMaximumSizeAsync( int cacheMaximumSize )
Public Function SetCacheMaximumSizeAsync ( cacheMaximumSize As Integer ) As Task
public: Task^ SetCacheMaximumSizeAsync( int cacheMaximumSize )
member SetCacheMaximumSizeAsync : cacheMaximumSize : int -> Task