[prev in list] [next in list] [prev in thread] [next in thread]
List: dovecot-cvs
Subject: dovecot-2.2: stats plugin: Fixed updating clock_time
From: dovecot () dovecot ! org (dovecot at dovecot ! org)
Date: 2014-01-15 20:58:03
Message-ID: hg.bdec18a1aa40.1389819483.6920021320469856403 () localhost ! localdomain
[Download RAW message or body]
details: http://hg.dovecot.org/dovecot-2.2/rev/bdec18a1aa40
changeset: 17111:bdec18a1aa40
user: Timo Sirainen <tss at iki.fi>
date: Wed Jan 15 15:57:50 2014 -0500
description:
stats plugin: Fixed updating clock_time
diffstat:
src/plugins/stats/stats-plugin.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r d6b6d83efb4e -r bdec18a1aa40 src/plugins/stats/stats-plugin.c
--- a/src/plugins/stats/stats-plugin.c Wed Jan 15 15:54:14 2014 -0500
+++ b/src/plugins/stats/stats-plugin.c Wed Jan 15 15:57:50 2014 -0500
@@ -211,6 +211,8 @@
it to NULL. when we get back to one user we'll need to set
the global user again somewhere. do it here. */
stats_global_user = user;
+ /* skip time spent waiting in ioloop */
+ suser->pre_io_stats.clock_time = ioloop_timeval;
} else {
i_assert(stats_global_user == NULL);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic