Class SpamClassificationRunOptions
- Namespace
- MailFathom.Application.Spam.Runs
- Assembly
- MailFathom.Application.dll
Bounds how much of an account's mail one classification pass takes in hand.
public sealed class SpamClassificationRunOptions
- Inheritance
-
SpamClassificationRunOptions
- Inherited Members
Remarks
Neither setting is a schedule. Carrying a run is a step of the account's synchronization run, so how often a pass happens is that run's interval and its backoff; what is configured here is how wide one pass is allowed to be, which is what stops a mailbox nobody has scored from turning one run into a walk of its whole history while the folders the run exists to fetch wait behind it.
Both defaults are smaller than the rule pass's, because the work per message is not comparable. A rule evaluates an expression over state that is already in memory; a classification reads the stored message and, where a scanner is configured, sends the whole of it across a socket and waits for a score.
Properties
- BatchSize
Gets or sets how many stored occurrences one batch reads, classifies, and commits the position of.
- MaxBatchesPerPass
Gets or sets how many batches one pass may commit before it leaves the rest to the next account run.