mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-03 19:50:34 +01:00 
			
		
		
		
	throttle: set default to 0.0
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>
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user