From 8b9e0c98584b6639f0c9dcf0232c4d3678f5338c Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 5 Dec 2019 09:20:31 +0100 Subject: [PATCH] stats: fix stats not always syncing in flow timeout (cherry picked from commit 83bbe287e7d2713669990dee41181d33f7cd571b) --- src/tm-threads.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tm-threads.c b/src/tm-threads.c index b7f3aebd08..70da024bf2 100644 --- a/src/tm-threads.c +++ b/src/tm-threads.c @@ -239,6 +239,7 @@ static int TmThreadTimeoutLoop(ThreadVars *tv, TmSlot *s) } } SCLogDebug("flow end loop complete"); + StatsSyncCounters(tv); return r; } -- 2.47.2