summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorMathieu Velten <mathieuv@matrix.org>2022-11-22 17:15:02 +0100
committerMathieu Velten <mathieuv@matrix.org>2022-11-22 18:09:13 +0100
commitb0603dabc9e188596c244ef85c0d6dc98ce495e2 (patch)
tree635fc94c8cfc5558908543e0b8fb450313002f6b /synapse/rest
parentAdd type ignore unused-awaitable to run_as_background_process calls (diff)
downloadsynapse-b0603dabc9e188596c244ef85c0d6dc98ce495e2.tar.xz
Add type ignore unused-awaitable to run_in_background calls
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/media/v1/storage_provider.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/storage_provider.py b/synapse/rest/media/v1/storage_provider.py
index 1c9b71d69c..4cbec73884 100644
--- a/synapse/rest/media/v1/storage_provider.py
+++ b/synapse/rest/media/v1/storage_provider.py
@@ -112,7 +112,7 @@ class StorageProviderWrapper(StorageProvider):
                 except Exception:
                     logger.exception("Error storing file")
 
-            run_in_background(store)
+            run_in_background(store) # type: ignore[unused-awaitable]
 
     async def fetch(self, path: str, file_info: FileInfo) -> Optional[Responder]:
         if file_info.url_cache: