GitBulletin

Repository: farcasterxyz/hub-monorepo

**Revolutionizing Reconciliation: New Time-Ranged Queries Set to Slash Processing Times!**

2024-08-20 21:44:01 UTC

**Groundbreaking Update Promises to Alleviate Strain on Systems with Enhanced Efficiency and Precision in Bulk Operations!**

Commit Details:

feat: use start and stop time range for reconciliation bulk queries (#2269) ## Why is this change needed? Reconciliation takes a really long time and puts a lot of pressure on hubs from read rpcs. Specifying a start and stop time range will reduce the overhead of running reconciliation. ## 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 - [ ] 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 introduces a time range option for reconciliation in the `shuttle` package. ### Detailed summary - Added `startTimestamp` and `stopTimestamp` parameters to `MessageReconciliation` class - Implemented time range filtering for message reconciliation - Updated message retrieval methods to support time range filtering > The following files were skipped due to too many changes: `packages/shuttle/src/shuttle/messageReconciliation.ts` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

Search Similar