mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
We really don't need debug logging of all the SQL statements we execute; we're quite happy these all work now
This commit is contained in:
parent
6f925f61ff
commit
93a8be7bef
@ -72,7 +72,6 @@ class StreamStore(SQLBaseStore):
|
|||||||
"messages", query, query_args, from_pkey, to_pkey, limit=limit
|
"messages", query, query_args, from_pkey, to_pkey, limit=limit
|
||||||
)
|
)
|
||||||
|
|
||||||
logger.debug("[SQL] %s : %s", query, query_args)
|
|
||||||
cursor = txn.execute(query, query_args)
|
cursor = txn.execute(query, query_args)
|
||||||
return self._as_events(cursor, MessagesTable, from_pkey)
|
return self._as_events(cursor, MessagesTable, from_pkey)
|
||||||
|
|
||||||
@ -110,7 +109,6 @@ class StreamStore(SQLBaseStore):
|
|||||||
limit=limit, group_by=" GROUP BY messages.id "
|
limit=limit, group_by=" GROUP BY messages.id "
|
||||||
)
|
)
|
||||||
|
|
||||||
logger.debug("[SQL] %s : %s", query, query_args)
|
|
||||||
cursor = txn.execute(query, query_args)
|
cursor = txn.execute(query, query_args)
|
||||||
|
|
||||||
# convert the result set into events
|
# convert the result set into events
|
||||||
@ -195,7 +193,6 @@ class StreamStore(SQLBaseStore):
|
|||||||
"feedback", query, query_args, from_pkey, to_pkey, limit=limit
|
"feedback", query, query_args, from_pkey, to_pkey, limit=limit
|
||||||
)
|
)
|
||||||
|
|
||||||
logger.debug("[SQL] %s : %s", query, query_args)
|
|
||||||
cursor = txn.execute(query, query_args)
|
cursor = txn.execute(query, query_args)
|
||||||
return self._as_events(cursor, FeedbackTable, from_pkey)
|
return self._as_events(cursor, FeedbackTable, from_pkey)
|
||||||
|
|
||||||
@ -227,7 +224,6 @@ class StreamStore(SQLBaseStore):
|
|||||||
"room_data", query, query_args, from_pkey, to_pkey, limit=limit
|
"room_data", query, query_args, from_pkey, to_pkey, limit=limit
|
||||||
)
|
)
|
||||||
|
|
||||||
logger.debug("[SQL] %s : %s", query, query_args)
|
|
||||||
cursor = txn.execute(query, query_args)
|
cursor = txn.execute(query, query_args)
|
||||||
return self._as_events(cursor, RoomDataTable, from_pkey)
|
return self._as_events(cursor, RoomDataTable, from_pkey)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user