16 lines
483 B
Python
16 lines
483 B
Python
|
|
"""Marketplace plugin configuration."""
|
||
|
|
|
||
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
from app.config import settings
|
||
|
|
|
||
|
|
# Marketplace server URL — must be configured via env var MARKETPLACE_SERVER_URL
|
||
|
|
# Default: empty string means marketplace is not configured
|
||
|
|
MARKETPLACE_SERVER_URL: str = getattr(settings, "marketplace_server_url", "")
|
||
|
|
|
||
|
|
# Download timeout in seconds
|
||
|
|
MARKETPLACE_DOWNLOAD_TIMEOUT: int = 60
|
||
|
|
|
||
|
|
# Maximum ZIP file size (50 MB)
|
||
|
|
MARKETPLACE_MAX_ZIP_SIZE: int = 50 * 1024 * 1024
|