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 8, 2023
1 parent c28906f commit 6a86de3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .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

0 comments on commit 6a86de3

Please sign in to comment.