mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix warnings about losing log context during UI auth. (#7688)
This commit is contained in:
parent
d0a43d431e
commit
2d11ea385c
1
changelog.d/7688.bugfix
Normal file
1
changelog.d/7688.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix "Starting db txn 'get_completed_ui_auth_stages' from sentinel context" warning. The bug was introduced in 1.13.0rc1.
|
@ -186,7 +186,7 @@ class UIAuthWorkerStore(SQLBaseStore):
|
|||||||
# The clientdict gets stored as JSON.
|
# The clientdict gets stored as JSON.
|
||||||
clientdict_json = json.dumps(clientdict)
|
clientdict_json = json.dumps(clientdict)
|
||||||
|
|
||||||
self.db.simple_update_one(
|
await self.db.simple_update_one(
|
||||||
table="ui_auth_sessions",
|
table="ui_auth_sessions",
|
||||||
keyvalues={"session_id": session_id},
|
keyvalues={"session_id": session_id},
|
||||||
updatevalues={"clientdict": clientdict_json},
|
updatevalues={"clientdict": clientdict_json},
|
||||||
|
Loading…
Reference in New Issue
Block a user