From: Victor Julien Date: Thu, 5 Dec 2019 08:20:31 +0000 (+0100) Subject: stats: fix stats not always syncing in flow timeout X-Git-Tag: suricata-5.0.1~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83bbe287e7d2713669990dee41181d33f7cd571b;p=thirdparty%2Fsuricata.git stats: fix stats not always syncing in flow timeout --- diff --git a/src/tm-threads.c b/src/tm-threads.c index 512168c062..c7cc6fe504 100644 --- a/src/tm-threads.c +++ b/src/tm-threads.c @@ -224,6 +224,7 @@ static int TmThreadTimeoutLoop(ThreadVars *tv, TmSlot *s) } } SCLogDebug("flow end loop complete"); + StatsSyncCounters(tv); return r; }