mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 20:43:52 +01:00
Also log number of events for serach context
This commit is contained in:
parent
4b4cec3989
commit
28ddc6cfbe
1 changed files with 5 additions and 0 deletions
|
@ -291,6 +291,11 @@ class SearchHandler(BaseHandler):
|
|||
event.room_id, event.event_id, before_limit, after_limit
|
||||
)
|
||||
|
||||
logger.info(
|
||||
"Context for search returned %d and %d events",
|
||||
len(res["events_before"]), len(res["events_after"]),
|
||||
)
|
||||
|
||||
res["events_before"] = yield filter_events_for_client(
|
||||
self.store, user.to_string(), res["events_before"]
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue