Skip to content

Commit

Permalink
remote/exporter: reduce update delay
Browse files Browse the repository at this point in the history
To reduce the waiting time for USB devices like fastboot or serial in
test suites, call poll slightly more often.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  • Loading branch information
jluebbe committed Jul 31, 2019
1 parent 8d10d93 commit 7a652f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labgrid/remote/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ async def _poll_step(self):
async def poll(self):
while True:
try:
await asyncio.sleep(1.0)
await asyncio.sleep(0.25)
await self._poll_step()
except asyncio.CancelledError:
break
Expand Down

0 comments on commit 7a652f0

Please sign in to comment.