SHUTTLE SYSTEM UNDERGOES REVOLUTIONARY UPDATE: BYTE LIMIT BUG SQUASHED!
New fix ensures seamless event processing with efficient batch flush logic—upgrading to version 0.5.1 for enhanced performance!
Commit Details:
fix(shuttle): Fix resetting of batch flush logic when exceeding byte limit (#2151) ## Why is this change needed? This results in the batch being flushed after each event since we don't reset the count on flush. ## Merge Checklist - [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) - [ ] 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 updates the version to 0.5.1, fixing a bug related to the reset of the total batch bytes limit in `shuttle`. ### Detailed summary - Updated version to 0.5.1 - Fixed reset of limit for total batch bytes in `hubSubscriber.ts` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->