summary refs log tree commit diff
path: root/synapse/storage/room.py
diff options
context:
space:
mode:
authorhera <matrix@template.upcloud.com>2018-01-09 18:06:30 +0000
committerMatthew Hodgson <matthew@matrix.org>2018-01-09 18:14:32 +0000
commit174eacc8ba71015003a78594ebc89cbe45d8384a (patch)
tree305b6c8ad5ecf4f26c805f2133e1b028d8c2b46b /synapse/storage/room.py
parentoops, tweak work_mem when actually storing (diff)
downloadsynapse-174eacc8ba71015003a78594ebc89cbe45d8384a.tar.xz
oops
Diffstat (limited to 'synapse/storage/room.py')
-rw-r--r--synapse/storage/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/room.py b/synapse/storage/room.py
index 9e2bf1ab48..0604f8f270 100644
--- a/synapse/storage/room.py
+++ b/synapse/storage/room.py
@@ -310,7 +310,7 @@ class RoomStore(SQLBaseStore):
 
     def _store_event_search_txn(self, txn, event, key, value):
         if isinstance(self.database_engine, PostgresEngine):
-            txn.execute("SET work_mem='256KB'")
+            txn.execute("SET work_mem='256kB'")
             sql = (
                 "INSERT INTO event_search"
                 " (event_id, room_id, key, vector, stream_ordering, origin_server_ts)"