Преглед изворни кода

Significantly increase gcode timeout

Tuan Nguyen пре 11 месеци
родитељ
комит
128e5d6ae0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      modules/connection/connection_manager.py

+ 1 - 1
modules/connection/connection_manager.py

@@ -224,7 +224,7 @@ def send_grbl_coordinates(x, y, speed=600, timeout=2, home=False):
     
     # Track overall attempt time
     overall_start_time = time.time()
-    max_total_attempt_time = 10 # Maximum total seconds to try
+    max_total_attempt_time = 120 # Maximum total seconds to try
     
     while time.time() - overall_start_time < max_total_attempt_time:
         try: