Revision 0423d976 vncauthproxy/proxy.py

b/vncauthproxy/proxy.py
48 48
from gevent import socket
49 49
from signal import SIGINT, SIGTERM
50 50
from gevent.select import select
51
from time import sleep
52 51

  
53 52
from lockfile import LockTimeout, AlreadyLocked
54 53
# Take care of differences between python-daemon versions.
......
367 366
            break
368 367

  
369 368
        # Wait and retry
370
        sleep(retry_wait)
369
        gevent.sleep(retry_wait)
371 370

  
372 371
    if server is None:
373 372
        raise Exception("Failed to connect to server")

Also available in: Unified diff