mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-01-07 05:08:02 -05:00
Fix sending opentracing contexts to remote servers (#12555)
This commit is contained in:
parent
ee1601e59d
commit
c48ab3734e
1
changelog.d/12555.bugfix
Normal file
1
changelog.d/12555.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix sending opentracing contexts to whitelisted remote servers with device lists updates. Broken in v1.58.0rc1.
|
@ -1776,7 +1776,17 @@ class DeviceStore(DeviceWorkerStore, DeviceBackgroundUpdateStore):
|
|||||||
|
|
||||||
def get_uncoverted_outbound_room_pokes_txn(txn):
|
def get_uncoverted_outbound_room_pokes_txn(txn):
|
||||||
txn.execute(sql, (limit,))
|
txn.execute(sql, (limit,))
|
||||||
return txn.fetchall()
|
|
||||||
|
return [
|
||||||
|
(
|
||||||
|
user_id,
|
||||||
|
device_id,
|
||||||
|
room_id,
|
||||||
|
stream_id,
|
||||||
|
db_to_json(opentracing_context),
|
||||||
|
)
|
||||||
|
for user_id, device_id, room_id, stream_id, opentracing_context in txn
|
||||||
|
]
|
||||||
|
|
||||||
return await self.db_pool.runInteraction(
|
return await self.db_pool.runInteraction(
|
||||||
"get_uncoverted_outbound_room_pokes", get_uncoverted_outbound_room_pokes_txn
|
"get_uncoverted_outbound_room_pokes", get_uncoverted_outbound_room_pokes_txn
|
||||||
|
Loading…
Reference in New Issue
Block a user