Trial: disable synchronous commit

This commit is contained in:
Olivier 'reivilibre
2026-06-29 18:54:39 +01:00
parent 829ca08211
commit 6042ed08c6
+5
View File
@@ -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: