Skip to content

Commit

Permalink
Set cmd timeout to 15s (allows uploading larger files to loaded servers)
Browse files Browse the repository at this point in the history
  • Loading branch information
ffurano committed Oct 10, 2023
1 parent dc52688 commit a0e8843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/reva/arguments.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func executeCommand(cmd *command, args ...string) (bytes.Buffer, error) {
if err != nil {
return b, err
}
case <-time.After(5000 * time.Millisecond):
case <-time.After(15000 * time.Millisecond):
return b, errors.New("command timed out")
}
return b, nil
Expand Down

0 comments on commit a0e8843

Please sign in to comment.