]> git.hungrycats.org Git - bees/commitdiff
throttle: set default to 0.0
authorZygo Blaxell <bees@furryterror.org>
Fri, 27 Dec 2024 18:01:28 +0000 (13:01 -0500)
committerZygo Blaxell <bees@furryterror.org>
Sat, 4 Jan 2025 04:15:37 +0000 (23:15 -0500)
Longer latency testing runs are not showing a consistent gain from a
throttle factor of 1.0.  Make the default more conservative.

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

index b27d102c3b97e2385ad96531bfc133671f26c97d..079c13d25a0ae43923351a0d9ed5ef7ea38cc9f9 100644 (file)
@@ -305,7 +305,7 @@ bees_unreadahead(int const fd, off_t offset, size_t size)
        BEESCOUNTADD(readahead_unread_ms, unreadahead_timer.age() * 1000);
 }
 
-static double bees_throttle_factor = 1.0;
+static double bees_throttle_factor = 0.0;
 
 void
 bees_throttle(const double time_used, const char *const context)