2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-25 06:07:44 +00:00

Redude workers in tests to 20

This commit is contained in:
Alexander Neumann 2014-12-07 14:12:56 +01:00
parent 3336f2b8e7
commit 73be0d5b18

View File

@ -14,7 +14,7 @@ import (
"github.com/restic/restic/backend" "github.com/restic/restic/backend"
) )
var maxWorkers = flag.Uint("workers", 100, "number of workers to test BlobList concurrent access against") var maxWorkers = flag.Uint("workers", 20, "number of workers to test BlobList concurrent access against")
func randomID() []byte { func randomID() []byte {
buf := make([]byte, backend.IDSize) buf := make([]byte, backend.IDSize)