[dovecot/core] 617092: quota-count: Code cleanup - give consistent return...

GitHub noreply at github.com
Fri Apr 29 15:00:10 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 617092b0f17b37625e354d45108ad62baa65a858
      https://github.com/dovecot/core/commit/617092b0f17b37625e354d45108ad62baa65a858
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-29 (Fri, 29 Apr 2016)

  Changed paths:
    M src/plugins/quota/quota-count.c

  Log Message:
  -----------
  quota-count: Code cleanup - give consistent return value

Although the callers didn't care if it returned 0 or 1.


  Commit: 464db6d9d6d9126ac87143fc7a466120ff5b70f4
      https://github.com/dovecot/core/commit/464db6d9d6d9126ac87143fc7a466120ff5b70f4
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-29 (Fri, 29 Apr 2016)

  Changed paths:
    M src/plugins/quota/quota-count.c

  Log Message:
  -----------
  quota-count: Cache quota usage within the same ioloop run.

This mainly means that when both STORAGE and MESSAGES quota is looked up we
don't need to calculate them twice.


Compare: https://github.com/dovecot/core/compare/8b48c53a81bd...464db6d9d6d9


More information about the dovecot-cvs mailing list