mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-09 11:59:27 -05: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.