Skip to content

refactor: improve connection management#20

Merged
xfiive merged 2 commits intofeat/bubble-uifrom
refactor/improve-connection-management
Feb 24, 2026
Merged

refactor: improve connection management#20
xfiive merged 2 commits intofeat/bubble-uifrom
refactor/improve-connection-management

Conversation

@xfiive
Copy link
Member

@xfiive xfiive commented Feb 24, 2026

Summary

Improves HTTP and gRPC connection management to reduce latency and use current APIs:

  • Package-level shared http.Client in the manifest fetcher enables TCP connection pooling instead of creating a new client per call
  • Migrated from deprecated grpc.DialContext + WithBlock to grpc.NewClient which is non-blocking and the recommended gRPC-Go API

Replaces per-call http.Client creation with a package-level
shared client. Enables TCP connection pooling across manifest
fetch calls.
Replaces grpc.DialContext + WithBlock with grpc.NewClient which
is non-blocking and the recommended API going forward.
@xfiive xfiive added the ✨ Refactoring Refactoring request label Feb 24, 2026
@xfiive xfiive self-assigned this Feb 24, 2026
@xfiive xfiive merged commit 1cc1aa0 into feat/bubble-ui Feb 24, 2026
@xfiive xfiive deleted the refactor/improve-connection-management branch February 24, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Refactoring Refactoring request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant