From b8492795e9390189c9d5224e4c6b747ce6d60dd6 Mon Sep 17 00:00:00 2001 From: furkan sahin Date: Thu, 29 Feb 2024 16:37:29 +0100 Subject: [PATCH] tcp keepalive --- .github/workflows/verify-pr-commit.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/verify-pr-commit.yml b/.github/workflows/verify-pr-commit.yml index 543fa6f810..ccaf0b63e1 100644 --- a/.github/workflows/verify-pr-commit.yml +++ b/.github/workflows/verify-pr-commit.yml @@ -368,6 +368,11 @@ jobs: srtool --version - name: Configure Git to use HTTP/1.1 run: git config --global http.version HTTP/1.1 + - name: Set tcp_keepalive + run: | + sudo sysctl -w net.ipv4.tcp_keepalive_time=60 + sudo sysctl -w net.ipv4.tcp_keepalive_intvl=10 + sudo sysctl -w net.ipv4.tcp_keepalive_probes=5 - name: Build Deterministic WASM if: steps.cache-wasm.outputs.cache-hit != 'true' run: | @@ -468,6 +473,11 @@ jobs: srtool --version - name: Configure Git to use HTTP/1.1 run: git config --global http.version HTTP/1.1 + - name: Set tcp_keepalive + run: | + sudo sysctl -w net.ipv4.tcp_keepalive_time=60 + sudo sysctl -w net.ipv4.tcp_keepalive_intvl=10 + sudo sysctl -w net.ipv4.tcp_keepalive_probes=5 - name: Build Deterministic WASM if: steps.cache-wasm.outputs.cache-hit != 'true' run: | @@ -568,6 +578,11 @@ jobs: srtool --version - name: Configure Git to use HTTP/1.1 run: git config --global http.version HTTP/1.1 + - name: Set tcp_keepalive + run: | + sudo sysctl -w net.ipv4.tcp_keepalive_time=60 + sudo sysctl -w net.ipv4.tcp_keepalive_intvl=10 + sudo sysctl -w net.ipv4.tcp_keepalive_probes=5 - name: Build Deterministic WASM if: steps.cache-wasm.outputs.cache-hit != 'true' run: | @@ -668,6 +683,11 @@ jobs: srtool --version - name: Configure Git to use HTTP/1.1 run: git config --global http.version HTTP/1.1 + - name: Set tcp_keepalive + run: | + sudo sysctl -w net.ipv4.tcp_keepalive_time=60 + sudo sysctl -w net.ipv4.tcp_keepalive_intvl=10 + sudo sysctl -w net.ipv4.tcp_keepalive_probes=5 - name: Build Deterministic WASM if: steps.cache-wasm.outputs.cache-hit != 'true' run: |