Field MaximumConcurrentRunsPerUser
- Namespace
- MailFathom.Application.Discovery.Streaming
- Assembly
- MailFathom.Application.dll
The greatest number of runs one person has executing at once, across the whole deployment.
public const int MaximumConcurrentRunsPerUser = 8
Returns
- int
- The greatest number of runs one person has executing at once, across the whole deployment.
Remarks
A run is one person's question rather than a request being served, and a person does not ask eight at a time — so this bounds what a client looping over the start route can make a deployment do on that person's behalf, and a start beyond it is refused rather than queued. A refusal is the honest answer: queueing would leave somebody watching a run that has not begun, which is the spinner the whole surface exists to remove.
It is one person's and the deployment's, rather than one process's. It is counted in the same statement that opens the run, so raising the replica count does not multiply it and what somebody may start does not depend on which replica their request reached — which is what lets the number a client is told mean something. A run that has ended is not one of them: what this bounds is work in flight, and an answer waiting to be read costs rows rather than a provider.