Class RDWebMachinePoolOptions
- Namespace
- RDCore.Web.Machines
- Assembly
- RDCore.Web.dll
The size and the limits of a RDWebMachinePool.
public sealed record RDWebMachinePoolOptions : IEquatable<RDWebMachinePoolOptions>
- Inheritance
-
RDWebMachinePoolOptions
- Implements
- Inherited Members
Properties
MaxMachines
How many machines the pool holds at most: a request that finds none idle when the pool holds this many waits for one. The processor count by default.
public int MaxMachines { get; init; }
Property Value
MinMachines
How many machines the pool makes when it starts, and keeps once it has made them. 1 by default.
public int MinMachines { get; init; }
Property Value
RecycleAfter
How many requests a machine serves before the pool disposes it and makes another. 1000 by default.
public int RecycleAfter { get; init; }
Property Value
RequestTimeout
How long a request may take, from its arrival to its answer, waiting for a machine included. 90 seconds by default.
public TimeSpan RequestTimeout { get; init; }
Property Value
ResetTimeout
How long a machine's reset may take before the pool abandons the machine. 5 seconds by default.
public TimeSpan ResetTimeout { get; init; }
Property Value
StopTimeout
How long a machine whose request was cancelled has to stop, past RequestTimeout, before the pool abandons it. 5 seconds by default.
public TimeSpan StopTimeout { get; init; }