From a3e9be16569f52ecd0bab35e07505afa8242d05c Mon Sep 17 00:00:00 2001 From: Aneesh Nireshwalia Date: Sat, 4 Feb 2023 23:01:01 -0700 Subject: [PATCH] Increase default max SMB connections to 5 --- internal/backend/smb/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/backend/smb/config.go b/internal/backend/smb/config.go index 6762ef955..befbf43ed 100644 --- a/internal/backend/smb/config.go +++ b/internal/backend/smb/config.go @@ -33,7 +33,7 @@ type Config struct { const ( DefaultSmbPort int = 445 // DefaultSmbPort returns the default port for SMB DefaultDomain string = "WORKGROUP" // DefaultDomain returns the default domain for SMB - DefaultConnections uint = 2 // DefaultConnections returns the number of concurrent connections for SMB. + DefaultConnections uint = 5 // DefaultConnections returns the number of concurrent connections for SMB. DefaultIdleTimeout time.Duration = 60 * time.Second // DefaultIdleTimeout returns the default max time before closing idle connections for SMB. )