mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-26 20:22:22 +00:00
oops
This commit is contained in:
parent
e365ad329f
commit
174eacc8ba
@ -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)"
|
||||
|
@ -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', ?))"
|
||||
|
Loading…
Reference in New Issue
Block a user