Skip to content

Commit

Permalink
Set TCP keep alive to 5 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
avdv committed Aug 9, 2023
1 parent c28906f commit eb02079
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit eb02079

Please sign in to comment.