From eb02079cb9d886d40b4374e157d2f518f39422eb 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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 4b687339e..2b7c9413d 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 @@ -219,7 +222,7 @@ jobs: export PATH=$HOME/bazel:$PATH cd rules_haskell_tests base=$( bazel info output_base ) - find "$base" -mindepth 1 -maxdepth 1 -name "java*.log.*" -print0 | xargs -0r cp -t logs + find "$base" -mindepth 1 -maxdepth 1 -name "java*.log.*" -print0 | xargs -0r cp -t ../logs - name: Upload logs if: always()