summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-07-29 16:09:48 +0100
committerErik Johnston <erik@matrix.org>2019-07-29 16:09:48 +0100
commit105e7f6ed3a08bcbf0fac2c7749ccb29f39d1492 (patch)
tree4f00b7ca06f865300aefac27fe088ffb0fdb0092
parentNewsfile (diff)
downloadsynapse-105e7f6ed3a08bcbf0fac2c7749ccb29f39d1492.tar.xz
Remove lost comment
-rw-r--r--synapse/storage/schema/delta/56/room_membership_idx.sql7
1 files changed, 0 insertions, 7 deletions
diff --git a/synapse/storage/schema/delta/56/room_membership_idx.sql b/synapse/storage/schema/delta/56/room_membership_idx.sql
index fc0b498843..92ab1f5e65 100644
--- a/synapse/storage/schema/delta/56/room_membership_idx.sql
+++ b/synapse/storage/schema/delta/56/room_membership_idx.sql
@@ -13,13 +13,6 @@
  * limitations under the License.
  */
 
--- We add membership to current state so that we don't need to join against
--- room_memberships, which can be surprisingly costly (we do such queries
--- very frequently).
--- This will be null for non-membership events and the content.membership key
--- for membership events. (Will also be null for membership events until the
--- background update job has finished).
-
 -- Adds an index on room_memberships for fetching all forgotten rooms for a user
 INSERT INTO background_updates (update_name, progress_json) VALUES
   ('room_membership_forgotten_idx', '{}');