Skip to content
Snippets Groups Projects
Commit d4fdf0d7 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Shorten search intervall for MAM messages

parent 7f1a839e
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment