mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-05 07:40:31 +00:00
perf: use imap_tools uid_list fetch to skip manual UID batching
imap_tools 1.14.0 adds a uid_list fetch arg that fetches by UID directly without issuing a SEARCH command, and does its own bulk-fetch batching. Use it in place of the manual per-batch AND(uid=...) fetch loop.
This commit is contained in: