Skip to content

Commit 5ccf795

Browse files
authored
chore: reduce keepalive time to 30m, interval to 60s (#1421)
1 parent ebe4431 commit 5ccf795

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

ansible/tasks/setup-system.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,3 +183,17 @@
183183
ansible.posix.sysctl:
184184
name: 'net.ipv4.ip_local_port_range'
185185
value: '1025 65000'
186+
187+
#Set Sysctl params specific to keepalives
188+
- name: Set net.ipv4.tcp_keepalive_time=1800
189+
ansible.builtin.sysctl:
190+
name: net.ipv4.tcp_keepalive_time
191+
value: 1800
192+
state: present
193+
when: debpkg_mode or nixpkg_mode
194+
- name: Set net.ipv4.tcp_keepalive_intvl=60
195+
ansible.builtin.sysctl:
196+
name: net.ipv4.tcp_keepalive_intvl
197+
value: 60
198+
state: present
199+
when: debpkg_mode or nixpkg_mode

ansible/vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ postgres_major:
88

99
# Full version strings for each major version
1010
postgres_release:
11-
postgresorioledb-17: "17.0.1.021-orioledb"
12-
postgres15: "15.8.1.031"
11+
postgresorioledb-17: "17.0.1.022-orioledb"
12+
postgres15: "15.8.1.032"
1313

1414
# Non Postgres Extensions
1515
pgbouncer_release: "1.19.0"

0 commit comments

Comments
 (0)