]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-master: Add a comment clarifying when events must be sent to stats
authorJosef 'Jeff' Sipek <jeff.sipek@open-xchange.com>
Fri, 19 Apr 2019 13:50:53 +0000 (09:50 -0400)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 25 Jun 2019 12:17:39 +0000 (12:17 +0000)
src/lib-master/stats-client.c

index 60f930c48978ad474d56eaf95e308d4fd0e349c0..06328e2a94d2a795b52fa133a287bd87b5dbd04b 100644 (file)
@@ -244,6 +244,8 @@ stats_client_send_event(struct stats_client *client, struct event *event,
            !event_filter_match(client->filter, event, ctx))
                return;
 
+       /* Need to send the event for stats and/or export */
+
        string_t *str = t_str_new(256);
        stats_event_write(event, ctx, str, FALSE);
        o_stream_nsend(client->conn.output, str_data(str), str_len(str));