mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #325 from tokejepsen/2.x/bugfix/ftrack_timeout
Ftrack timeout needs to look at AVALON_TIMEOUT
This commit is contained in:
commit
62cb5600ef
1 changed files with 2 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ import time
|
|||
import logging
|
||||
import functools
|
||||
import atexit
|
||||
import os
|
||||
|
||||
# Third-party dependencies
|
||||
import pymongo
|
||||
|
|
@ -62,7 +63,7 @@ def check_active_table(func):
|
|||
|
||||
class DbConnector:
|
||||
log = logging.getLogger(__name__)
|
||||
timeout = 1000
|
||||
timeout = int(os.environ["AVALON_TIMEOUT"])
|
||||
|
||||
def __init__(
|
||||
self, uri, port=None, database_name=None, table_name=None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue