]> git.hungrycats.org Git - bees/commit
progress: fix ETA calculations
authorZygo Blaxell <bees@furryterror.org>
Mon, 16 Jun 2025 11:30:05 +0000 (07:30 -0400)
committerZygo Blaxell <bees@furryterror.org>
Thu, 19 Jun 2025 01:17:48 +0000 (21:17 -0400)
commit8331f70db70439adcf9f619cfb1f6691be13d1b6
tree8e1cdf4868c5ea7ee7db709963794682f291dc15
parenta844024395121fe9be21c3be2553be9abd77cfbf
progress: fix ETA calculations

The "tm_left" field was the estimated _total_ duration of the crawl,
not the amount of time remaining.  The ETA timestamp was then calculated
based on the estimated time to run the crawl if it started _now_, not
at the start timestamp.

Fix the duration and ETA calculations.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
src/bees-roots.cc