summary refs log tree commit diff
path: root/synapse/storage/databases/main/appservice.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-10-19 18:34:31 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-10-19 18:34:31 +0100
commit25b077d747cbac85c08b0cc416df0f0e6202921a (patch)
treed011aa68a1e93095810f1a81055ae6c2a0527858 /synapse/storage/databases/main/appservice.py
parentMerge commit 'e04e465b4' into anoa/dinsic_release_1_21_x (diff)
parentConvert some of the general database methods to async (#8100) (diff)
downloadsynapse-25b077d747cbac85c08b0cc416df0f0e6202921a.tar.xz
Merge commit '050e20e7c' into anoa/dinsic_release_1_21_x
* commit '050e20e7c':
  Convert some of the general database methods to async (#8100)
Diffstat (limited to 'synapse/storage/databases/main/appservice.py')
-rw-r--r--synapse/storage/databases/main/appservice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/appservice.py b/synapse/storage/databases/main/appservice.py

index 5cf1a88399..02568a2391 100644 --- a/synapse/storage/databases/main/appservice.py +++ b/synapse/storage/databases/main/appservice.py
@@ -169,7 +169,7 @@ class ApplicationServiceTransactionWorkerStore( service(ApplicationService): The service whose state to set. state(ApplicationServiceState): The connectivity state to apply. Returns: - A Deferred which resolves when the state was set successfully. + An Awaitable which resolves when the state was set successfully. """ return self.db_pool.simple_upsert( "application_services_state", {"as_id": service.id}, {"state": state}