perf(desktop): unbatch host-service tRPC client
Merged
KI
6mo ago+2+2+0123456789-2-2-0123456789
Switch host-service-client from httpBatchLink to httpLink so calls to the local host service no longer wait on the slowest procedure in a batch.
Description
Related Issues
Type of Change
- Bug fix
- New feature
- Documentation
- Refactor
- Other (please describe):
Testing
Screenshots (if applicable)
Additional Notes
Summary by cubic
Use httpLink for the desktop host-service tRPC client instead of httpBatchLink so local RPC calls resolve independently and no longer wait for the slowest request in a batch. This reduces latency for fast procedures and speeds up the UI.
Summary by CodeRabbit
- Refactor
- Optimized internal request handling for host service communication to improve performance.