decrease timeout
This commit is contained in:
parent
48fe891ac2
commit
1c6aa01df7
@ -102,6 +102,7 @@ class driver(screenDriver):
|
||||
fdList += [fd]
|
||||
if interruptFd:
|
||||
fdList += [interruptFd]
|
||||
starttime = time.time()
|
||||
while True:
|
||||
# respect timeout but wait a little bit of time to see if something more is here
|
||||
if (time.time() - starttime) >= timeout:
|
||||
|
Loading…
Reference in New Issue
Block a user