Table of Contents

Enum MailAccountRunPhase

Namespace
MailFathom.Application.Synchronization.Administration
Assembly
MailFathom.Application.dll

Where one account's supervisor is in the loop that runs it.

public enum MailAccountRunPhase

Fields

NotStarted = 0

No run of this account has begun in this process, which is what an account reads as until its first one starts.

Running = 3

The account is running: it holds a slot and its folders are being synchronized.

WaitingForNextRun = 1

The account has finished a run and is waiting out the delay before its next one.

WaitingForRunSlot = 2

The account is ready to run and is waiting for one of the slots that bound how many accounts run at once.

Remarks

The three working values are what an operator has to tell apart before any count means anything: an account that is fetching mail now, one that is ready to and is waiting for a slot behind other accounts, and one that has finished and is waiting out the pause its last run chose. Reporting the last two alike would make a deployment bounded by MaxConcurrentAccounts look idle, which is the reading a status surface exists to prevent.