Skip to content

Commit

Permalink
Fix error in function name (#2489)
Browse files Browse the repository at this point in the history
## Why is this change needed?

Describe why this issue should be fixed and link to any relevant design
docs, issues or other relevant items.

## 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)
- [ ] 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 focuses on correcting a typo in the method name within the
`syncHealthJob.ts` file, improving code clarity and consistency.

### Detailed summary
- Renamed the method `processSumbitResults` to `processSubmitResults` in
the `MeasureSyncHealthJobScheduler` class.
- Updated the call to the method to reflect the corrected name.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`

<!-- end pr-codex -->
  • Loading branch information
offensif authored Jan 27, 2025
1 parent 1ede397 commit 6517583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/hubble/src/network/sync/syncHealthJob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class MeasureSyncHealthJobScheduler {
return undefined;
}

async processSumbitResults(
async processSubmitResults(
results: Result<Message, SubmitError>[],
peerId: string,
startTime: number,
Expand Down Expand Up @@ -221,7 +221,7 @@ export class MeasureSyncHealthJobScheduler {
continue;
}

const processedResults = await this.processSumbitResults(
const processedResults = await this.processSubmitResults(
resultsPushingToUs.value,
peer.identifier,
chunkStartTime,
Expand Down

0 comments on commit 6517583

Please sign in to comment.