When deleting or uploading a package from NPM repository, Artifactory will recalculate metadata for the entire repository instead for only the actual path of the package. This increases the CPU usage significantly (tested with ~4k artifacts in the repository).
Steps to reproduce:
- Create NPM repository with different packages.
- Delete a single artifact from the repository.
- One minute later Artifactory will recalculate metadata for the entire repository.