forked from TrueCloudLab/restic
local: Limit concurrent backend operations
Use a limit of 2 similar to the filereader concurrency in the archiver.
This commit is contained in:
parent
0b258cc054
commit
cd783358d3
7 changed files with 88 additions and 32 deletions
|
@ -25,7 +25,8 @@ func newTestSuite(t testing.TB) *test.Suite {
|
|||
t.Logf("create new backend at %v", dir)
|
||||
|
||||
cfg := local.Config{
|
||||
Path: dir,
|
||||
Path: dir,
|
||||
Connections: 2,
|
||||
}
|
||||
return cfg, nil
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue