1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-10 01:17:59 +03:00

Added delay on actor EINTR

This commit is contained in:
Adolfo Gómez García 2017-03-23 13:55:32 +01:00
parent f86712a05a
commit be3c242a7d

View File

@ -37,6 +37,7 @@ import six
import traceback
import pickle
import errno
import time
from udsactor.utils import toUnicode
from udsactor.log import logger
@ -409,6 +410,7 @@ class ClientIPC(threading.Thread):
except socket.error as e:
if e.errno == errno.EINTR:
time.sleep(1) #
continue # Ignore interrupted system call
logger.error('Communication with server got an error: {}'.format(toUnicode(e.strerror)))
# self.running = False