1
0
mirror of https://github.com/restic/restic.git synced 2024-06-25 07:47:44 +02:00

Increase default max SMB connections to 5

This commit is contained in:
Aneesh Nireshwalia 2023-02-04 23:01:01 -07:00
parent d062a82896
commit a3e9be1656

View File

@ -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.
)