[dovecot/core] f4203c: stats: Fix user login counters

GitHub noreply at github.com
Mon Aug 29 11:30:14 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: f4203c92ae9b8ce9a3f54a7de578bbc80224f4d9
      https://github.com/dovecot/core/commit/f4203c92ae9b8ce9a3f54a7de578bbc80224f4d9
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M src/stats/mail-domain.c
    M src/stats/mail-session.c
    M src/stats/mail-user.c

  Log Message:
  -----------
  stats: Fix user login counters

Before we would count all users twice,
because the same counters would get increment
in both CONNECT and ADD-USER. Now we do not
increment them at all on ADD-USER.


  Commit: 7bde80dd07fc936e0c8fc5d0b7475cf455296068
      https://github.com/dovecot/core/commit/7bde80dd07fc936e0c8fc5d0b7475cf455296068
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M src/stats/client-reset.c

  Log Message:
  -----------
  stats: Reset nearly all global mail stats

We leave num_connected_sessions alone.


Compare: https://github.com/dovecot/core/compare/9a4542801f04...7bde80dd07fc


More information about the dovecot-cvs mailing list