Skip to content

Commit

Permalink
feat(nvmf): decrease reconnect-delay-sec to 2 seconds
Browse files Browse the repository at this point in the history
Allows to re-establish the connection more quickly and prevent long stuck.

Longhorn 9190

Signed-off-by: Derek Su <[email protected]>
  • Loading branch information
derekbit authored and shuo-wu committed Aug 9, 2024
1 parent 6a4189a commit d679e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (

DefaultCtrlrLossTimeoutSec = 30
// DefaultReconnectDelaySec can't be more than DefaultFastIoFailTimeoutSec, same for non-default values.
DefaultReconnectDelaySec = 5
DefaultReconnectDelaySec = 2
DefaultFastIOFailTimeoutSec = 15
// DefaultTransportAckTimeout value is not the timeout second.
// The timeout formula is 2^(transport_ack_timeout) msec.
Expand Down

0 comments on commit d679e62

Please sign in to comment.