mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-08 20:02:16 -04:00
use %r to __repr__ objects
This avoids calculating __repr__ unless we are going to log.
This commit is contained in:
parent
f85b9842f0
commit
9eebc1e73b
3 changed files with 4 additions and 4 deletions
|
@ -365,7 +365,7 @@ class EventFederationWorkerStore(EventsWorkerStore, SignatureWorkerStore, SQLBas
|
|||
|
||||
def _get_backfill_events(self, txn, room_id, event_list, limit):
|
||||
logger.debug(
|
||||
"_get_backfill_events: %s, %s, %s", room_id, repr(event_list), limit
|
||||
"_get_backfill_events: %s, %r, %s", room_id, event_list, limit
|
||||
)
|
||||
|
||||
event_results = set()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue