Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage: remove 500 ms debounce on IMAP IDLE notifications #216

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jan 10, 2024

  1. storage: remove 500 ms debounce on IMAP IDLE notifications

    This commit removes hardcoded 500 ms debounce
    from storage that delays all storage notification subscribers
    such as IDLE and NOTIFY commands.
    
    500 ms debounce constant NOTIFY_DELAY_MSECS
    was added in 2009 [1]. Before that Dovecot
    was only delivering notifications
    when a second-resolution timer
    is changed by at least 1, so IDLE notifications
    were delayed by half a second on average.
    
    [1] dovecot@56fb5d0
    Alex committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    f2bce12 View commit details
    Browse the repository at this point in the history