From 136eae23204b7edd6795aa2dcf5f24ef0a974050 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 8 Oct 2019 14:37:51 +0100 Subject: [PATCH] [Minor] Be more relaxed about usec --- utils/rspamd_stats.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/rspamd_stats.pl b/utils/rspamd_stats.pl index 6d304742a..7bb6cbb1c 100755 --- a/utils/rspamd_stats.pl +++ b/utils/rspamd_stats.pl @@ -713,7 +713,7 @@ sub log_time_format { # 2017-08-08 00:00:01 #66984( # 2017-08-08 00:00:01.001 #66984( - if (/^\d{4}-\d\d-\d\d \d\d:\d\d:\d\d(\.\d{3})? #\d+\(/) { + if (/^\d{4}-\d\d-\d\d \d\d:\d\d:\d\d(\.\d{3,5})? #\d+\(/) { $format = 'rspamd'; last; } -- 2.39.5