Changed session sync timeout to 2 seconds.

This commit is contained in:
Griatch 2014-08-14 10:56:59 +02:00
parent 31687b8a05
commit bb808174e3

View file

@ -58,7 +58,7 @@ class TelnetProtocol(Telnet, StatefulTelnetProtocol, Session):
# until coming up with a more elegant solution /Griatch
from src.utils.utils import delay
delay(5, callback=self.handshake_done, retval=True)
delay(2, callback=self.handshake_done, retval=True)
def handshake_done(self, force=False):
"""