mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +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):
|
||||
"""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=[]):
|
||||
super(SocketThread, self).__init__()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue