Skip to content

Commit eb02079

Browse files
committed
Set TCP keep alive to 5 minutes
1 parent c28906f commit eb02079

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/workflow.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,10 @@ jobs:
104104
runs-on: ${{ matrix.os }}
105105
steps:
106106
- if: ${{ matrix.os == 'windows-latest' }}
107-
run: reg query HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
107+
run: |
108+
reg query HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
109+
reg add HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v KeepAliveTime /t REG_DWORD /d 300000
110+
reg query HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
108111
- if: ${{ matrix.os == 'ubuntu-latest' }}
109112
run: |-
110113
sudo swapoff -a
@@ -219,7 +222,7 @@ jobs:
219222
export PATH=$HOME/bazel:$PATH
220223
cd rules_haskell_tests
221224
base=$( bazel info output_base )
222-
find "$base" -mindepth 1 -maxdepth 1 -name "java*.log.*" -print0 | xargs -0r cp -t logs
225+
find "$base" -mindepth 1 -maxdepth 1 -name "java*.log.*" -print0 | xargs -0r cp -t ../logs
223226
224227
- name: Upload logs
225228
if: always()

0 commit comments

Comments
 (0)