diff options
author | hera <matrix@template.upcloud.com> | 2018-01-09 18:06:30 +0000 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2018-01-09 18:14:32 +0000 |
commit | 174eacc8ba71015003a78594ebc89cbe45d8384a (patch) | |
tree | 305b6c8ad5ecf4f26c805f2133e1b028d8c2b46b /synapse/storage/search.py | |
parent | oops, tweak work_mem when actually storing (diff) | |
download | synapse-174eacc8ba71015003a78594ebc89cbe45d8384a.tar.xz |
oops
Diffstat (limited to 'synapse/storage/search.py')
-rw-r--r-- | synapse/storage/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/search.py b/synapse/storage/search.py index 7b1166f417..f52f3c8592 100644 --- a/synapse/storage/search.py +++ b/synapse/storage/search.py @@ -106,7 +106,7 @@ class SearchStore(BackgroundUpdateStore): event_search_rows.append((event_id, room_id, 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)" " VALUES (?,?,?,to_tsvector('english', ?))" |