decrease timeout
This commit is contained in:
parent
161c316383
commit
fef9691912
@ -89,7 +89,6 @@ class driver(screenDriver):
|
|||||||
# 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
|
||||||
while screen_utils.hasMore(fd,0.0000001):
|
while screen_utils.hasMore(fd,0.0000001):
|
||||||
if (time.time() - starttime) >= timeout:
|
if (time.time() - starttime) >= timeout:
|
||||||
print('timeout')
|
|
||||||
break
|
break
|
||||||
data = os.read(fd, 65536)
|
data = os.read(fd, 65536)
|
||||||
if data == b'':
|
if data == b'':
|
||||||
|
Loading…
Reference in New Issue
Block a user