mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Using PYPE_FTRACK_SOCKET_TIMEOUT variable
and default 45.
This commit is contained in:
parent
87715afcb8
commit
62e296de6d
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ from pype.api import Logger
|
||||||
class SocketThread(threading.Thread):
|
class SocketThread(threading.Thread):
|
||||||
"""Thread that checks suprocess of storer of processor of events"""
|
"""Thread that checks suprocess of storer of processor of events"""
|
||||||
|
|
||||||
MAX_TIMEOUT = 120
|
MAX_TIMEOUT = int(os.environ.get("PYPE_FTRACK_SOCKET_TIMEOUT", 45))
|
||||||
|
|
||||||
def __init__(self, name, port, filepath, additional_args=[]):
|
def __init__(self, name, port, filepath, additional_args=[]):
|
||||||
super(SocketThread, self).__init__()
|
super(SocketThread, self).__init__()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue