Files
ProxmoxVE-Local/scripts
CanbiZ (MickLesk) e19f946c6a PB 503 retry, IPv6 validation, download concurrency, little performance improvements (#534)
* fix: PB 503 retry, IPv6 validation, download concurrency

- Add withPbRetry() with exponential backoff for PocketBase queries
  that return 503/429 under concurrent tRPC request load (#527)
- Accept IPv6 addresses in gateway and DNS resolver fields (#524)
- Batch loadMultipleScripts in groups of 5 with Promise.allSettled
  and inter-batch delay to avoid GitHub rate limits (#523)

Closes #527, Closes #524, Closes #523

* perf: increase staleTime, disable refetchOnWindowFocus, use httpBatchLink

- staleTime 30s → 5min: script metadata rarely changes, avoids
  constant re-fetches on every navigation
- refetchOnWindowFocus: false: prevents all queries from re-firing
  when switching tabs or clicking back into the window
- httpBatchLink instead of httpBatchStreamLink: responses arrive as
  single JSON payload instead of streamed chunks, reducing overhead
  for the typical small tRPC payloads

* fix: address TypeScript linting issues and improve error handling across multiple files

* fix: resolve TypeScript linting issues by updating error handling and filtering logic

---------

Co-authored-by: ProxmoxVE Developer <dev@localhost>
2026-03-31 21:51:29 +02:00
..
2026-01-29 10:01:30 +01:00
2026-01-29 10:01:30 +01:00
2025-11-13 15:26:49 +01:00