From 6a86de37f967edfec5a34e5b25af74892ee0abab Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Tue, 8 Aug 2023 21:18:07 +0200 Subject: [PATCH] Set TCP keep alive to 5 minutes --- .github/workflows/workflow.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 4b687339e5..eb0449ddeb 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -104,7 +104,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - if: ${{ matrix.os == 'windows-latest' }} - run: reg query HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters + run: | + reg query HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters + reg add HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v KeepAliveTime /t REG_DWORD /d 300000 + reg query HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters - if: ${{ matrix.os == 'ubuntu-latest' }} run: |- sudo swapoff -a