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