mirror of
https://github.com/restic/restic.git
synced 2025-10-09 19:32:36 +00:00
sftp: Limit concurrent backend operations
This commit is contained in:
@@ -42,8 +42,9 @@ func newTestSuite(t testing.TB) *test.Suite {
|
||||
t.Logf("create new backend at %v", dir)
|
||||
|
||||
cfg := sftp.Config{
|
||||
Path: dir,
|
||||
Command: fmt.Sprintf("%q -e", sftpServer),
|
||||
Path: dir,
|
||||
Command: fmt.Sprintf("%q -e", sftpServer),
|
||||
Connections: 5,
|
||||
}
|
||||
return cfg, nil
|
||||
},
|
||||
|
Reference in New Issue
Block a user