Class ProviderPacedWorkloads
- Namespace
- MailFathom.Application.AiProviders
- Assembly
- MailFathom.Application.dll
Names the bulk workloads this deployment paces against a provider's declared rate.
public static class ProviderPacedWorkloads
- Inheritance
-
ProviderPacedWorkloads
- Inherited Members
Remarks
Each name is the key one IProviderPaceMarker row is held under, so it is written once here and survives every rename the code it paces ever takes — the same reason a backfill walk names itself rather than being named after the type that walks it.
There are two because there are two quotas. Embedding a mailbox's passages and describing its pictures reach two declared endpoints with two rates, and one marker shared between them would let either workload's burst spend the other's slots.
Fields
- AttachmentImageDescription
The workload that describes this deployment's picture attachments, paced by the chat provider's own rate.
- EmailEmbedding
The workload that embeds this deployment's mail, paced by the embedding provider's declared rate.
- MaxNameLength
The greatest length a workload name may take, which is what the key it is held under is sized for.