[dovecot/core] 91cec7: lib-storage: Optimize INBOX notifications with mai...

GitHub noreply at github.com
Tue Sep 5 10:49:13 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 91cec71840dda9bd4c26b8e88e6af18262d6b36a
      https://github.com/dovecot/core/commit/91cec71840dda9bd4c26b8e88e6af18262d6b36a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index-notify.c

  Log Message:
  -----------
  lib-storage: Optimize INBOX notifications with mailbox_list_index_include_inbox=yes

There's no need for special INBOX checks in that case, because INBOX is
tracked in the mailbox list index the same as any other mailbox.


  Commit: 921a1eac5bd1375b86f5fc423257513c9e94c3cd
      https://github.com/dovecot/core/commit/921a1eac5bd1375b86f5fc423257513c9e94c3cd
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index-notify.c

  Log Message:
  -----------
  lib-storage: Remove INBOX notification checks if mailbox events aren't requested

Nothing would be done with the results of those checks.

Note that MAILBOX_LIST_NOTIFY_UIDVALIDITY can be handled using mailbox list
index, even for INBOX with mailbox_list_index_include_inbox=no.


  Commit: 5b898189915be7054d53d57029fe77af7856cb0c
      https://github.com/dovecot/core/commit/5b898189915be7054d53d57029fe77af7856cb0c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index-notify.c

  Log Message:
  -----------
  lib-storage: List index notify cleanup - move code to separate functions

No functional changes. In preparation for the next commit.


  Commit: 838a76b0f4e65e98eeca3c134b8c290bc94eb849
      https://github.com/dovecot/core/commit/838a76b0f4e65e98eeca3c134b8c290bc94eb849
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index-notify.c

  Log Message:
  -----------
  lib-storage: Fix INBOX notifications to set correct events

This fixes IMAP NOTIFY so it doesn't send STATUS notifications to INBOX when
it doesn't have to.


Compare: https://github.com/dovecot/core/compare/cefa6f3df2f3...838a76b0f4e6


More information about the dovecot-cvs mailing list