toolhead: Reduce target buffer time to 1 second from 2 seconds

During normal printing the host software would attempt to stay ahead
of the micro-controller by 2 full seconds.  Change that time to 1
second.  This should make the software more responsive to user
requests (such as pause requests).

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2025-09-07 00:08:24 -04:00
parent 16fc46fe5f
commit 8de426d244
2 changed files with 5 additions and 1 deletions

View File

@@ -8,6 +8,10 @@ All dates in this document are approximate.
## Changes
20251010: During normal printing the command processing will now
attempt to stay one second ahead of printer movement (reduced from two
seconds previously).
20251003: Support for the undocumented `max_stepper_error` option in
the `[printer]` config section has been removed.

View File

@@ -192,7 +192,7 @@ class LookAheadQueue:
# Check if enough moves have been queued to reach the target flush time.
return self.junction_flush <= 0.
BUFFER_TIME_HIGH = 2.0
BUFFER_TIME_HIGH = 1.0
BUFFER_TIME_START = 0.250
PRIMING_CMD_TIME = 0.100