dovecot-2.2: stats plugin: Fixed updating clock_time
dovecot at dovecot.org
dovecot at dovecot.org
Wed Jan 15 22:58:03 EET 2014
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);
More information about the dovecot-cvs
mailing list