Tune backpressure in python tests to make them more stable

This commit is contained in:
anastasia
2022-02-23 21:58:32 +03:00
committed by Anastasia Lubennikova
parent 5b34afe893
commit 87f306c516

View File

@@ -1285,6 +1285,10 @@ class Postgres(PgProtocol):
if config_lines is None:
config_lines = []
# set small 'max_replication_write_lag' to enable backpressure
# and make tests more stable.
config_lines = ['max_replication_write_lag=15MB'] + config_lines
self.config(config_lines)
return self