mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
renamed avalon_mongo_timeout key to AVALON_TIMEOUT
This commit is contained in:
parent
bb2d5af187
commit
e9bf54a4ec
3 changed files with 3 additions and 3 deletions
|
|
@ -33,7 +33,7 @@ class AvalonModule(PypeModule, ITrayModule, IRestApi):
|
|||
# Mongo timeout
|
||||
avalon_mongo_timeout = os.environ.get("AVALON_TIMEOUT")
|
||||
if not avalon_mongo_timeout:
|
||||
avalon_mongo_timeout = avalon_settings["avalon_mongo_timeout"]
|
||||
avalon_mongo_timeout = avalon_settings["AVALON_TIMEOUT"]
|
||||
|
||||
self.thumbnail_root = thumbnail_root
|
||||
self.avalon_mongo_url = avalon_mongo_url
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"Avalon": {
|
||||
"AVALON_MONGO": "mongodb://localhost:2707",
|
||||
"avalon_mongo_timeout": 1000,
|
||||
"AVALON_TIMEOUT": 1000,
|
||||
"AVALON_DB_DATA": "{PYPE_SETUP_PATH}/../mongo_db_data",
|
||||
"AVALON_THUMBNAIL_ROOT": "{PYPE_SETUP_PATH}/../avalon_thumails",
|
||||
"environment": {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
},
|
||||
{
|
||||
"type": "number",
|
||||
"key": "avalon_mongo_timeout",
|
||||
"key": "AVALON_TIMEOUT",
|
||||
"minimum": 0,
|
||||
"label": "Avalon Mongo Timeout (ms)"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue