debuginfod: only update database stats once per groom
authorFrank Ch. Eigler <fche@redhat.com>
Thu, 15 Apr 2021 10:29:01 +0000 (06:29 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Thu, 15 Apr 2021 11:21:25 +0000 (07:21 -0400)
commita81366e011f686ca4a907673801fb4902a7e790c
tree1a54521487072abee6cb08f7a539146dfc738b0d
parent2a849629a03ff45422649ebbdb6e5cfcf3061bf6
debuginfod: only update database stats once per groom

On very large servers, each database-stat counting pass can take tens
of minutes (!), and doing it twice per groom pass does not seriously
improve data quality.  Just do it once, after stale data removal &
basic sqlite vacuum.

Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
debuginfod/ChangeLog
debuginfod/debuginfod.cxx