build02/nixpkgs-update: make socat more patient
This may address the intermittent ConnectionResetErrors we're seeing from the supervisor. By default, socat will terminate its connection to one side half a second after the other side closes; if the supervisor is taking more than half a second to respond, this results in dropped jobs. Bumping this timeout to five seconds should help.
This commit is contained in:
parent
48471a4582
commit
2c61389d6c
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ let
|
|||
|
||||
msg=READY
|
||||
while true; do
|
||||
response=$(echo "$msg" | socat UNIX-CONNECT:"$socket" - || true)
|
||||
response=$(echo "$msg" | socat -t5 UNIX-CONNECT:"$socket" - || true)
|
||||
case "$response" in
|
||||
"") # connection error; retry
|
||||
sleep 5
|
||||
|
|
Loading…
Add table
Reference in a new issue