Table of Contents

Enum EmbeddingSpendBound

Namespace
MailFathom.Application.Emails.Embeddings.Limits
Assembly
MailFathom.Application.dll

Which of the two embedding spend ceilings a period reached.

public enum EmbeddingSpendBound

Fields

Deployment = 2

The deployment has spent what one period admits in total, whatever any one user has left.

Reported in preference to User when both are reached, because it is the wider fact: raising a user's ceiling would change nothing while the instance itself is at its budget.

None = 0

Neither ceiling is reached, so the request may be sent.

User = 1

The named user has spent what one period admits for them, while the deployment still has room.

Remarks

A deployment bounds what it will spend in total and what any one user may spend of that, and the two refusals need different actions: one is raised by raising the deployment's ceiling or waiting, the other by raising that user's or by leaving them to wait while everybody else keeps working. Naming which was reached is what lets an operator tell "this instance is at its budget" from "this person is at theirs".