Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppet: Set a long timeout on wal-g wal-push, to prevent stalls.
Alex Vandiver4868a4fe4864
diff --git a/puppet/zulip/templates/postgresql/10/postgresql.conf.centos.template.erb b/puppet/zulip/templates/postgresql/10/postgresql.conf.centos.template.erbindex 593bcfa5df1..987883b0d2d 100644--- a/puppet/zulip/templates/postgresql/10/postgresql.conf.centos.template.erb+++ b/puppet/zulip/templates/postgresql/10/postgresql.conf.centos.template.erb@@ -698,7 +698,7 @@ listen_addresses = <%= @listen_addresses %>wal_level = hot_standbymax_wal_senders = 5archive_mode = on-archive_command = '/usr/local/bin/env-wal-g wal-push %p'+archive_command = '/usr/bin/timeout 10m /usr/local/bin/env-wal-g wal-push %p'# Replica settings (ignored on primary)hot_standby = ondiff --git a/puppet/zulip/templates/postgresql/10/postgresql.conf.template.erb b/puppet/zulip/templates/postgresql/10/postgresql.conf.template.erbindex 92da3397444..b00d45f27dd 100644--- a/puppet/zulip/templates/postgresql/10/postgresql.conf.template.erb+++ b/puppet/zulip/templates/postgresql/10/postgresql.conf.template.erb@@ -698,7 +698,7 @@ listen_addresses = <%= @listen_addresses %>wal_level = hot_standbymax_wal_senders = 5archive_mode = on-archive_command = '/usr/local/bin/env-wal-g wal-push %p'+archive_command = '/usr/bin/timeout 10m /usr/local/bin/env-wal-g wal-push %p'# Replica settings (ignored on primary)hot_standby = ondiff --git a/puppet/zulip/templates/postgresql/11/postgresql.conf.template.erb b/puppet/zulip/templates/postgresql/11/postgresql.conf.template.erbindex 92da3397444..b00d45f27dd 100644--- a/puppet/zulip/templates/postgresql/11/postgresql.conf.template.erb+++ b/puppet/zulip/templates/postgresql/11/postgresql.conf.template.erb@@ -698,7 +698,7 @@ listen_addresses = <%= @listen_addresses %>wal_level = hot_standbymax_wal_senders = 5archive_mode = on-archive_command = '/usr/local/bin/env-wal-g wal-push %p'+archive_command = '/usr/bin/timeout 10m /usr/local/bin/env-wal-g wal-push %p'# Replica settings (ignored on primary)hot_standby = ondiff --git a/puppet/zulip/templates/postgresql/12/postgresql.conf.template.erb b/puppet/zulip/templates/postgresql/12/postgresql.conf.template.erbindex a83a2dc16ed..a9db00d5a3b 100644--- a/puppet/zulip/templates/postgresql/12/postgresql.conf.template.erb+++ b/puppet/zulip/templates/postgresql/12/postgresql.conf.template.erb@@ -792,7 +792,7 @@ listen_addresses = <%= @listen_addresses %>wal_level = hot_standbymax_wal_senders = 5archive_mode = on-archive_command = '/usr/local/bin/env-wal-g wal-push %p'+archive_command = '/usr/bin/timeout 10m /usr/local/bin/env-wal-g wal-push %p'# Replica settings (ignored on primary)hot_standby = ondiff --git a/puppet/zulip/templates/postgresql/9.5/postgresql.conf.template.erb b/puppet/zulip/templates/postgresql/9.5/postgresql.conf.template.erbindex bb1dc5ba1c4..500e78cc469 100644--- a/puppet/zulip/templates/postgresql/9.5/postgresql.conf.template.erb+++ b/puppet/zulip/templates/postgresql/9.5/postgresql.conf.template.erb@@ -670,7 +670,7 @@ listen_addresses = <%= @listen_addresses %>wal_level = hot_standbymax_wal_senders = 5archive_mode = on-archive_command = '/usr/local/bin/env-wal-g wal-push %p'+archive_command = '/usr/bin/timeout 10m /usr/local/bin/env-wal-g wal-push %p'# Replica settings (ignored on primary)hot_standby = ondiff --git a/puppet/zulip/templates/postgresql/9.6/postgresql.conf.template.erb b/puppet/zulip/templates/postgresql/9.6/postgresql.conf.template.erbindex 96789dd83f0..b6aa655f278 100644--- a/puppet/zulip/templates/postgresql/9.6/postgresql.conf.template.erb+++ b/puppet/zulip/templates/postgresql/9.6/postgresql.conf.template.erb@@ -683,7 +683,7 @@ listen_addresses = <%= @listen_addresses %>wal_level = hot_standbymax_wal_senders = 5archive_mode = on-archive_command = '/usr/local/bin/env-wal-g wal-push %p'+archive_command = '/usr/bin/timeout 10m /usr/local/bin/env-wal-g wal-push %p'# Replica settings (ignored on primary)hot_standby = on