Diable relish upload and backpressure

This commit is contained in:
Konstantin Knizhnik
2021-12-08 10:30:45 +03:00
parent 1530143e00
commit 0ce4dca05a
2 changed files with 4 additions and 4 deletions

View File

@@ -293,9 +293,9 @@ impl PostgresNode {
conf.append("wal_level", "replica");
// wal_sender_timeout is the maximum time to wait for WAL replication.
// It also defines how often the walreciever will send a feedback message to the wal sender.
conf.append("wal_sender_timeout", "5s");
conf.append("max_replication_flush_lag", "160MB");
conf.append("max_replication_apply_lag", "1500MB");
//conf.append("wal_sender_timeout", "5s");
//conf.append("max_replication_flush_lag", "160MB");
//conf.append("max_replication_apply_lag", "1500MB");
conf.append("listen_addresses", &self.address.ip().to_string());
conf.append("port", &self.address.port().to_string());

View File

@@ -106,7 +106,7 @@ fn init_repo(conf: &'static PageServerConf, tenant_id: ZTenantId) {
conf,
Arc::new(walredo_mgr),
tenant_id,
true,
false,
));
let mut m = access_tenants();