Skip to content

Commit

Permalink
Set correct StreamIdleTimeout value (#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
ushabelgur authored Feb 28, 2025
1 parent 813c7dc commit c094ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poollet/machinepoollet/iri/streaming/remotecommand/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func setExecHandlerOptionsDefaults(o *ExecHandlerOptions) {
o.SupportedStreamProtocols = remotecommandconsts.SupportedStreamingProtocols
}
if o.StreamIdleTimeout == 0 {
o.StreamCreationTimeout = 4 * time.Hour
o.StreamIdleTimeout = 4 * time.Hour
}
if o.StreamCreationTimeout == 0 {
o.StreamCreationTimeout = remotecommandconsts.DefaultStreamCreationTimeout
Expand Down

0 comments on commit c094ae9

Please sign in to comment.