Shorten search intervall for MAM messages

This commit is contained in:
Philipp Hörist 2017-11-01 23:07:11 +01:00
parent 7f1a839e77
commit d4fdf0d7c1
1 changed files with 3 additions and 3 deletions

View File

@ -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)