pub const DEFAULT_DM_POLL_SECONDS: u64 = 150;Expand description
DM-class sweep interval a workspace gets when it names none.
The two clocks spend one token’s allowance for the same method, so the DM
class has to fit beside the conversation pass rather than alone: at
poll_seconds 5 that pass costs about 36 calls a minute (a directory list
plus one history read per named conversation, and thread walks on top),
against a measured 77. The largest inbox measured is 91 DMs, one history
call each, so it needs at least 135 seconds and 150 is that with margin. The
smaller inbox is comfortable either way: 48 DMs lands near 20 calls a minute.
The floor is real rather than tidy: at 77 calls a minute the token was
measured clean - 30 back-to-back conversations.history calls, no 429 at
all - and deliberately paced runs at 45 to 57 were comfortable, so 77 is the
highest rate observed rather than a projection.