Skip to content

Disable row count logging for API triggered imports

Context

The importer currently gives row count summaries that span the entire database after an import is complete.

Problem

When importing a single repository at a time, especially via the APT route, this stat collection starts to incur a greater resource cost, especially as the size of the database grows.

Solution

The ability to disable these options should be easily achieved via a new functional option for the Importer struct.

Edited by Hayley Swimelar