Field MaximumEntriesPerRead
- Namespace
- MailFathom.Application.Agent.Conversations
- Assembly
- MailFathom.Application.dll
The greatest number of entries one read may return.
public const int MaximumEntriesPerRead = 250
Returns
- int
- The greatest number of entries one read may return.
Remarks
A read from a cursor returns what has been written since, which is a handful of entries during a run and the whole conversation on a first read of a long one. The bound is what keeps the second case from being unbounded; a reader that reaches it advances its cursor and reads again, which is the same call it was already making.
It counts the entries of the reading asked for. A read of the visible history passes over the technical entries in the database rather than after it, so a page holds this many visible entries wherever the history still has them, never comes back empty while more is written, and ends on a visible entry whose place is the cursor the reader holds next — so a conversation whose order is mostly tool traffic reads exactly as one that holds none.