mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-10-26 07:46:11 +01:00
toolhead: Remove extra batching time added in _check_pause()
The code currently adds an additional 100ms to BUFFER_TIME_HIGH in _check_pause() to reduce the number of calls to _check_pause(). However, LOOKAHEAD_FLUSH_TIME should already provide sufficient batching so adding more is not necessary. This change should hopefully make configuring BUFFER_TIME_HIGH a little more transparent. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -343,7 +343,7 @@ class ToolHead:
|
||||
buffer_time = self.print_time - est_print_time
|
||||
if not self.special_queuing_state:
|
||||
# In main state - defer pause checking until needed
|
||||
self.need_check_pause = est_print_time + BUFFER_TIME_HIGH + 0.100
|
||||
self.need_check_pause = est_print_time + BUFFER_TIME_HIGH
|
||||
def _priming_handler(self, eventtime):
|
||||
self.reactor.unregister_timer(self.priming_timer)
|
||||
self.priming_timer = None
|
||||
|
||||
Reference in New Issue
Block a user