mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-07-31 09:28:40 -04:00
* 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>