mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 12:04:17 -04:00
More logging for the linearizer and for get_events
This commit is contained in:
parent
e1c5463efc
commit
dd3df11c55
2 changed files with 13 additions and 2 deletions
|
@ -1084,8 +1084,10 @@ class EventsStore(SQLBaseStore):
|
|||
self._do_fetch
|
||||
)
|
||||
|
||||
logger.info("Loading %d events", len(events))
|
||||
with PreserveLoggingContext():
|
||||
rows = yield events_d
|
||||
logger.info("Loaded %d events (%d rows)", len(events), len(rows))
|
||||
|
||||
if not allow_rejected:
|
||||
rows[:] = [r for r in rows if not r["rejects"]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue