mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-11-13 04:06:15 -06:00
Make the sleep duration dynamic to account for the time spent in loop_step. This improves responsiveness when repeatedly consuming newly arriving docs. Use float epoch seconds (time.time()) as the time type for MailFetcher.last_checked to allow for natural time arithmetic.