feat: increase auto_fetch_max_depth from 3 to 10
This commit is contained in:
@@ -91,7 +91,7 @@ class Settings(BaseSettings):
|
|||||||
|
|
||||||
# Auto-fetch configuration for dependency resolution
|
# Auto-fetch configuration for dependency resolution
|
||||||
auto_fetch_dependencies: bool = False # Server default for auto_fetch parameter
|
auto_fetch_dependencies: bool = False # Server default for auto_fetch parameter
|
||||||
auto_fetch_max_depth: int = 3 # Maximum fetch recursion depth to prevent runaway fetching
|
auto_fetch_max_depth: int = 10 # Maximum fetch recursion depth to prevent runaway fetching
|
||||||
auto_fetch_timeout: int = 300 # Total timeout for auto-fetch resolution in seconds
|
auto_fetch_timeout: int = 300 # Total timeout for auto-fetch resolution in seconds
|
||||||
|
|
||||||
# JWT Authentication settings (optional, for external identity providers)
|
# JWT Authentication settings (optional, for external identity providers)
|
||||||
|
|||||||
@@ -881,7 +881,7 @@ async def resolve_dependencies_with_fetch(
|
|||||||
base_url: str,
|
base_url: str,
|
||||||
storage: "S3Storage",
|
storage: "S3Storage",
|
||||||
registry_clients: Dict[str, "RegistryClient"],
|
registry_clients: Dict[str, "RegistryClient"],
|
||||||
max_fetch_depth: int = 3,
|
max_fetch_depth: int = 10,
|
||||||
) -> DependencyResolutionResponse:
|
) -> DependencyResolutionResponse:
|
||||||
"""
|
"""
|
||||||
Resolve all dependencies for an artifact recursively, fetching missing ones from upstream.
|
Resolve all dependencies for an artifact recursively, fetching missing ones from upstream.
|
||||||
|
|||||||
Reference in New Issue
Block a user