Files
pvemanager/backend/app/proxmox/__init__.py
markmorado 33e5620311
Some checks failed
Backend Tests / pytest (Python 3.12) (push) Failing after 1m44s
Deploy to Production / Trigger production update (push) Failing after 9s
SonarCloud / SonarCloud Analysis (push) Failing after 2m48s
fix(proxmox): re-export cleanup_expired_connections from the package
The function lives in client.py but was missing from the package
__init__, unlike its neighbours clear_all_cache and clear_server_cache.
The monitoring worker imports it from app.proxmox inside a try/except
ImportError, so nothing crashed — the hourly job was silently skipped
with "Proxmox cache cleanup not available" and the connection cache was
never pruned, keeping entries older than an hour alive until restart.
2026-08-24 03:30:39 +05:00

15 lines
449 B
Python

from .client import ProxmoxClient, get_proxmox_resources, _run_in_executor, clear_all_cache, clear_server_cache, cleanup_expired_connections
from .net_parser import ParsedNic, parse_net_string, parse_guest_nics
__all__ = [
'ProxmoxClient',
'get_proxmox_resources',
'_run_in_executor',
'clear_all_cache',
'clear_server_cache',
'cleanup_expired_connections',
'ParsedNic',
'parse_net_string',
'parse_guest_nics',
]