mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 00:12:39 +00:00
The state poll puts two method calls per session account, plus calendars and filters, into one request. From seven accounts on (the server's default limit is 16 calls) Stalwart refused the whole request, and the failure was swallowed, so new mail and folder changes stopped showing up for users with many shared accounts. The poll now goes out in batches of `maxCallsInRequest`, one after the other.