PB 503 retry, IPv6 validation, download concurrency, little performance improvements#534
Merged
PB 503 retry, IPv6 validation, download concurrency, little performance improvements#534
Conversation
- 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
eb0efd1 to
370a785
Compare
…Link - 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
370a785 to
bf9a34e
Compare
added 2 commits
March 31, 2026 21:44
…oss multiple files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✍️ Description
that return 503/429 under concurrent tRPC request load ([Bug] v0.5.7 - Script installation broken: 503 errors on concurrent tRPC requests prevent install from completing #527)
and inter-batch delay to avoid GitHub rate limits (Can't download a lot of scripts #523)
🔗 Related PR / Issue
Fixes: #
✅ Prerequisites (X in brackets)
Screenshot for frontend Change
🛠️ Type of Change (X in brackets)