Fix ciso8601 issue in collections tests.
[arvados.git] / services / keepstore / s3_volume.go
index b5a1c97b48c1b8269ae6384c1716d93cd129500c..9d4d8019282ebf01160544d940345b36fe892076 100644 (file)
@@ -850,7 +850,7 @@ func (v *S3Volume) EmptyTrash() {
        }
 
        var wg sync.WaitGroup
-       todo := make(chan *s3.Key)
+       todo := make(chan *s3.Key, theConfig.EmptyTrashWorkers)
        for i := 0; i < 1 || i < theConfig.EmptyTrashWorkers; i++ {
                wg.Add(1)
                go func() {