summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2022-05-23 10:28:56 +0100
committerGitHub <noreply@github.com>2022-05-23 10:28:56 +0100
commitfbf904bd54071ca22c8918e0e106dd2fb008d0fb (patch)
tree15a9bec7395ad14f540576fa05ede3fad0bfda53 /synapse/storage
parentSend `USER_IP` commands on a different Redis channel, in order to reduce traf... (diff)
downloadsynapse-fbf904bd54071ca22c8918e0e106dd2fb008d0fb.tar.xz
Fix media thumbnails being unusable before the index had been added in the background. (#12823)
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/database.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/database.py b/synapse/storage/database.py
index 5ddb58a8a2..a78d68a9d7 100644
--- a/synapse/storage/database.py
+++ b/synapse/storage/database.py
@@ -90,6 +90,8 @@ UNIQUE_INDEX_BACKGROUND_UPDATES = {
     "device_lists_remote_extremeties": "device_lists_remote_extremeties_unique_idx",
     "device_lists_remote_cache": "device_lists_remote_cache_unique_idx",
     "event_search": "event_search_event_id_idx",
+    "local_media_repository_thumbnails": "local_media_repository_thumbnails_method_idx",
+    "remote_media_cache_thumbnails": "remote_media_repository_thumbnails_method_idx",
 }