Skip to content

Commit fc812b4

Browse files
Bump PG slots max_replication_slots / max_wal_senders = 25 (#1031)
Port PG VM commit 9b7e8b3beed178129f2519313a668e54d5f1216b to K8s. Co-authored-by: Dragomir Penev <[email protected]>
1 parent 4ead8e4 commit fc812b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/charm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2133,6 +2133,8 @@ def update_config(self, is_creating_backup: bool = False) -> bool:
21332133
self._patroni.bulk_update_parameters_controller_by_patroni({
21342134
"max_connections": max_connections,
21352135
"max_prepared_transactions": self.config.memory_max_prepared_transactions,
2136+
"max_replication_slots": 25,
2137+
"max_wal_senders": 25,
21362138
"shared_buffers": self.config.memory_shared_buffers,
21372139
"wal_keep_size": self.config.durability_wal_keep_size,
21382140
})

0 commit comments

Comments
 (0)