reduce timeout

This commit is contained in:
Chrys 2019-08-24 22:25:45 +02:00
parent 9554dbbf6d
commit 9657d23c4f

View File

@ -103,7 +103,7 @@ class driver(screenDriver):
self.env['screen']['autoIgnoreScreens'] = [] self.env['screen']['autoIgnoreScreens'] = []
self.env['general']['prevUser'] = getpass.getuser() self.env['general']['prevUser'] = getpass.getuser()
self.env['general']['currUser'] = getpass.getuser() self.env['general']['currUser'] = getpass.getuser()
def readAll(self, fd, timeout = 1, interruptFd = None, len = 65536): def readAll(self, fd, timeout = 0.3, interruptFd = None, len = 65536):
msgBytes = b'' msgBytes = b''
fdList = [] fdList = []
fdList += [fd] fdList += [fd]