mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-28 07:14:52 +00:00
Trial: disable synchronous commit
This commit is contained in:
@@ -1134,6 +1134,11 @@ def setup_test_homeserver(
|
||||
"port": POSTGRES_PORT,
|
||||
"cp_min": 1,
|
||||
"cp_max": 5,
|
||||
# Tolerate data loss for testing speedup.
|
||||
# https://postgresqlco.nf/doc/en/param/synchronous_commit/
|
||||
# (Mechanically: means we ask Postgres not to wait to flush data to disk before
|
||||
# telling us transactions are committed.)
|
||||
"synchronous_commit": False,
|
||||
},
|
||||
}
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user