forked from TrueCloudLab/restic
sftp: Limit concurrent backend operations
This commit is contained in:
parent
cd783358d3
commit
ece06f125e
6 changed files with 112 additions and 41 deletions
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue