"Tech Triumph: Default Page Size Rescues System from CPU Overload!"
"New fix in prune job operation sparks efficiency boost, ending 100% CPU spikes and enhancing performance."
Commit Details:
fix: Use default page size for prune job (#1797) ## Motivation Use default page size for prune job so we don't unnecessarily page. This was causing 100% CPU for a short time. ## 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. - [X] All [commits have been signed](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#22-signing-commits) <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on fixing a bug in the `pruneMessagesJob.ts` file by removing the `pageSize` parameter from the `getFids` function call. ### Detailed summary - Removed `pageSize` parameter from `getFids` function call in `pruneMessagesJob.ts` - Ensured default page size is used for prune job > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->