ts_autosign:_wait_signed(): reduce sleep time
This commit is contained in:
parent
a9e6f0a79b
commit
659f08aadd
2 changed files with 3 additions and 3 deletions
|
|
@ -569,7 +569,7 @@ class Autosign:
|
|||
if isinstance(val,str):
|
||||
msg(val)
|
||||
if self.cfg.test_suite_autosign_threaded:
|
||||
await asyncio.sleep(1)
|
||||
await asyncio.sleep(0.3)
|
||||
self.do_umount()
|
||||
self.led.set('error' if not all(ret) else 'off' if self.cfg.stealth_led else 'standby')
|
||||
return all(ret)
|
||||
|
|
|
|||
|
|
@ -464,13 +464,13 @@ class CmdTestAutosignThreaded(CmdTestAutosignBase):
|
|||
if self.asi.mountpoint.is_mount():
|
||||
oqmsg_r(gray(' signing '))
|
||||
break
|
||||
time.sleep(0.2)
|
||||
time.sleep(0.1)
|
||||
while True:
|
||||
oqmsg_r(gray('>'))
|
||||
if not self.asi.mountpoint.is_mount():
|
||||
oqmsg(gray(' done'))
|
||||
break
|
||||
time.sleep(0.2)
|
||||
time.sleep(0.1)
|
||||
imsg('')
|
||||
self.remove_device()
|
||||
return 'ok'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue