]> git.hungrycats.org Git - bees/commit
extent scan: extra check to make sure no Tasks are started when throttled
authorZygo Blaxell <bees@furryterror.org>
Tue, 18 Feb 2025 01:02:18 +0000 (20:02 -0500)
committerZygo Blaxell <bees@furryterror.org>
Thu, 19 Jun 2025 01:17:48 +0000 (21:17 -0400)
commit9439dad93ae0773dfb0940bc9997231df6004c4d
treef43a0e2b9eb99c02d1cf6dd67da8b81ff41d4e1a
parentef9b4b3a502c73b54ab0254f53b36c18ad1044a4
extent scan: extra check to make sure no Tasks are started when throttled

Previously `scan()` would run the extent scan loop once, and enqueue one
extent, before checking for throttling.  Do an extra check before that,
and bail out so that zero extents are enqueued when throttled.

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