fix(dashboard): устранить мигание показаний и поток ошибок 422
- поднять лимит /proxmox/api/all-tasks до 500 (дашборд запрашивал limit=500 при потолке le=200, что давало 422 каждые 5с) - обработчик WS dashboard_metrics больше не затирает кэш пустыми/частичными тиками: игнорирует пустые сводки и сохраняет последние валидные nodes/vms/containers при транзиентном сбое Proxmox Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -202,7 +202,7 @@ def cancel_task(
|
||||
def get_all_tasks(
|
||||
db: Session = Depends(get_db),
|
||||
current_user: User = Depends(get_current_user),
|
||||
limit: int = Query(30, ge=1, le=200),
|
||||
limit: int = Query(30, ge=1, le=500),
|
||||
status_filter: str = Query(None, alias="status"),
|
||||
):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user