Class PollerBehavior.SimpleMaximum
- Namespace
- Temporalio.Worker.Tuning
- Assembly
- Temporalio.dll
A poller behavior that will attempt to poll as long as a slot is available, up to the provided maximum. Cannot be less than two for workflow tasks, or one for other tasks.
public sealed class PollerBehavior.SimpleMaximum : PollerBehavior
- Inheritance
-
PollerBehavior.SimpleMaximum
- Inherited Members
Constructors
SimpleMaximum(int)
Initializes a new instance of the PollerBehavior.SimpleMaximum class.
public SimpleMaximum(int maximum)
Parameters
maximum
intThe maximum number of pollers at a time.
Properties
Maximum
Gets maximum number of polls.
public int Maximum { get; }