Method NoPassWillRun
- Namespace
- MailFathom.Application.Emails.Embeddings.Backfill
- Assembly
- MailFathom.Application.dll
NoPassWillRun()
Reports that this process runs no pass at all, so nothing is scheduled and nothing can be asked for.
public void NoPassWillRun()
Remarks
Called by the worker in place of ever waiting, because whether the walk runs is a configuration value the worker reads and nothing here can see. Without it an activation would record a due instant on a deployment where no pass will ever be taken, and the status surface would report an overdue pass for as long as the process lived — which is the reading this whole type exists to prevent, arrived at from the other direction.
It also clears a request that got in first, because an activation can reach the process before its worker has run far enough to say this. There is no way back: whether the walk runs is read once at startup, so a schedule told this keeps saying it until the process ends.