mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 05:22:56 +00:00
Tune backpressure in python tests to make them more stable
This commit is contained in:
committed by
Anastasia Lubennikova
parent
5b34afe893
commit
87f306c516
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user