tests/thread/stress_schedule.py: Decrease backoff time.

Locally, this changes the duration of the test from about 2.7s to 0.3s.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
This commit is contained in:
Jeff Epler
2025-11-15 08:30:56 -06:00
committed by Damien George
parent b792efc341
commit cfaba3211c

View File

@@ -35,7 +35,7 @@ def thread():
micropython.schedule(task, None)
except RuntimeError:
# Queue full, back off.
time.sleep_ms(10)
time.sleep_ms(1)
for i in range(8):