From d4fdf0d7c1da7a06518acb7473e387aa6d285e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Wed, 1 Nov 2017 23:07:11 +0100 Subject: [PATCH] Shorten search intervall for MAM messages --- gajim/common/logger.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gajim/common/logger.py b/gajim/common/logger.py index dbd04acbe..d742e2322 100644 --- a/gajim/common/logger.py +++ b/gajim/common/logger.py @@ -1064,9 +1064,9 @@ class Logger: :param msg: The message text """ - # Add 5 minutes around the timestamp - start_time = timestamp - 300 - end_time = timestamp + 300 + # Add 10 seconds around the timestamp + start_time = timestamp - 10 + end_time = timestamp + 10 log.debug('start: %s, end: %s, jid: %s, message: %s', start_time, end_time, jid, msg)