diff --git a/.gitignore b/.gitignore index 813b2305..45468477 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ *.o *.a *.so +go-spdk-helper # Folders _obj @@ -38,4 +39,4 @@ bin/ # ignores all goland project folders and files .idea/ *.iml -*.ipr \ No newline at end of file +*.ipr diff --git a/pkg/types/types.go b/pkg/types/types.go index 19e75bf4..d63d53fd 100644 --- a/pkg/types/types.go +++ b/pkg/types/types.go @@ -22,10 +22,11 @@ const ( ShallowCopyStateComplete = "complete" ShallowCopyStateError = "error" - DefaultCtrlrLossTimeoutSec = 30 - // DefaultReconnectDelaySec can't be more than DefaultFastIoFailTimeoutSec, same for non-default values. + DefaultCtrlrLossTimeoutSec = 15 + // DefaultReconnectDelaySec can't be more than DefaultFastIOFailTimeoutSec. DefaultReconnectDelaySec = 2 - DefaultFastIOFailTimeoutSec = 15 + DefaultFastIOFailTimeoutSec = 10 + // DefaultTransportAckTimeout value is not the timeout second. // The timeout formula is 2^(transport_ack_timeout) msec. // DefaultTransportAckTimeout is 14, so the default timeout is 2^14 = 16384 msec = 16.384 sec.