Method DidNotAnswerInTime
- Namespace
- MailFathom.Application.SensitiveContent.Detection
- Assembly
- MailFathom.Application.dll
DidNotAnswerInTime(string, TimeSpan)
Reports that the analyzer did not answer the whole availability probe within the budget one scrape is allowed.
public static PersonalDataAnalyzerUnavailableException DidNotAnswerInTime(string endpoint, TimeSpan budget)
Parameters
endpointstringThe address the probe asked.
budgetTimeSpanHow long the scrape was allowed to take.
Returns
- PersonalDataAnalyzerUnavailableException
The failure to raise.
Remarks
The budget covers the scrape rather than each request it makes, because a scrape asks once per configured language while the readiness period an orchestrator scrapes on stays what it was. An analyzer slow enough to reach this is one that would answer a scan no faster, so the instance reports unready rather than serving reads its scanner is about to refuse anyway.
Exceptions
- ArgumentNullException
Thrown when
endpointis null.