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:
parent
f86712a05a
commit
be3c242a7d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user