summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-12 14:26:03 +0100
committerErik Johnston <erik@matrix.org>2016-09-12 14:27:01 +0100
commit03a98aff3c4803b163802b784e05f1eacd03c444 (patch)
treef190c84628ab5b07ccc3c96c57d7b063469e3eba /synapse
parentMerge pull request #1104 from matrix-org/markjh/direct_to_device_federation_sync (diff)
downloadsynapse-03a98aff3c4803b163802b784e05f1eacd03c444.tar.xz
Create new index concurrently
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py

index f98d5d53ee..fdbdade536 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py
@@ -820,7 +820,7 @@ class StateStore(SQLBaseStore): def reindex_txn(txn): if isinstance(self.database_engine, PostgresEngine): txn.execute( - "CREATE INDEX state_groups_state_type_idx" + "CREATE INDEX CONCURRENTLY state_groups_state_type_idx" " ON state_groups_state(state_group, type, state_key)" ) txn.execute(