software package profiles implemeted, job deletion optimized
This commit is contained in:
+4
-1
@@ -3,7 +3,8 @@ import os
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
|
||||
CONFIG_PATH = Path(os.getenv("APP_CONFIG", "/app/config.json"))
|
||||
DATA_ROOT = Path(os.getenv("ASSETMANAGER_DATA_ROOT", "/assetmanager-data"))
|
||||
CONFIG_PATH = Path(os.getenv("APP_CONFIG", str(DATA_ROOT / "config" / "config.json")))
|
||||
|
||||
DEFAULT_CONFIG: dict[str, Any] = {
|
||||
"general": {
|
||||
@@ -42,6 +43,8 @@ DEFAULT_CONFIG: dict[str, Any] = {
|
||||
"automatic_retry_max_age_hours": 12,
|
||||
"automatic_retry_interval_seconds": 60,
|
||||
"automatic_retry_max_retries": 3,
|
||||
"remote_job_cleanup_enabled": True,
|
||||
"remote_job_retention_hours": 24,
|
||||
"inventory_exclusion_rules": []
|
||||
},
|
||||
"privacy": {},
|
||||
|
||||
Reference in New Issue
Block a user