Skip to content

Commit

Permalink
update readme for parallel run issue (#660)
Browse files Browse the repository at this point in the history
* update readme for parallel run

* move to Q&A
  • Loading branch information
karancode committed Oct 11, 2020
1 parent 4c3bfb8 commit de30c3f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -1966,6 +1966,12 @@ $ brew unlink trivy && brew uninstall trivy
$ brew install aquasecurity/trivy/trivy
```

### Running in parallel takes same time as series run
When running trivy on multiple images simultaneously, it will take same time as running trivy in series.
This is because of a limitation of boltdb.
> Bolt obtains a file lock on the data file so multiple processes cannot open the same database at the same time. Opening an already open Bolt database will cause it to hang until the other process closes it.
Reference : [boltdb: Opening a database](https://github.com/boltdb/bolt#opening-a-database).

## Others

### GitHub Rate limiting
Expand Down

0 comments on commit de30c3f

Please sign in to comment.