GitBulletin

Repository: farcasterxyz/hub-monorepo

Tech Titans Tweak Timeout: Revolutionizing Client-Side Configurations!

2024-08-15 03:03:29 UTC

A strategic move to synchronize gRPC connections and combat nuisance disruptions, setting a new standard for seamless service delivery!

Commit Details:

chore: tweak client-side config to set baseline timeout (#2257) ## Why is this change needed? Adjacent to #2250, this adjusts the client-side timeouts for parity – intermediary termination routes such as NLBs may impose their own timeout that is causing weird misbehaviors. ## Merge Checklist _Choose all relevant options below by adding an `x` now or at any time before submitting for review_ - [x] PR title adheres to the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) standard - [x] PR has a [changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets) - [x] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore) - [ ] PR includes [documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs) if necessary. <!-- start pr-codex --> --- ## PR-Codex overview This PR tweaks the client-side configuration in `hubble.ts` to set baseline timeout values for gRPC connections. ### Detailed summary - Updated client-side configuration to include `grpc.keepalive_time_ms` and `grpc.keepalive_timeout_ms` - Set both values to 5000ms for gRPC connections - Applied the changes in two different locations within the `getHubRpcClient` function > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

Search Similar