mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
More debug logging
This commit is contained in:
parent
753126b8cc
commit
f4ea78e9e2
@ -443,6 +443,8 @@ class SQLBaseStore(object):
|
||||
if not event_ids:
|
||||
return []
|
||||
|
||||
logger.debug("_get_events_txn called with %d events", len(event_ids))
|
||||
|
||||
if len(event_ids) > 50:
|
||||
events = []
|
||||
n = 50
|
||||
@ -451,6 +453,8 @@ class SQLBaseStore(object):
|
||||
events.extend(self._get_events_txn(txn, e_ids))
|
||||
return events
|
||||
|
||||
logger.debug("_get_events_txn Fetching %d events", len(event_ids))
|
||||
|
||||
where_clause = " OR ".join(["e.event_id = ?" for _ in event_ids])
|
||||
|
||||
sql = (
|
||||
|
Loading…
Reference in New Issue
Block a user