mirror of
https://github.com/micropython/micropython.git
synced 2026-01-28 06:40:19 +01:00
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:
committed by
Damien George
parent
b792efc341
commit
cfaba3211c
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user