Add an option to control the database batch size when adding/planning files into the database. The current value is 500 and is too big as it blocks the database for a time too long. On small machines, it will be worst.
Let's add a new option: database-batch-size with a default value of 256.
- Is referenced in