Skip to content

Conversation

mathieuartu
Copy link
Contributor

@mathieuartu mathieuartu commented Sep 18, 2025

Explanation

This PR prevents single sync events from being enqueued if a full sync is already in progress.
This prevents unnecessary client side network calls.

References

Fixes: https://consensyssoftware.atlassian.net/browse/MUL-901

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed, highlighting breaking changes as necessary
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

@mathieuartu mathieuartu self-assigned this Sep 18, 2025
@mathieuartu mathieuartu force-pushed the fix/no-atomic-syncs-if-full-sync-in-progress branch from 2253b70 to 33f10ab Compare September 18, 2025 12:15
@mathieuartu mathieuartu changed the title feat(account-tree-controller): do not enqueue single syncs during ful… feat(account-tree-controller): do not enqueue single syncs during full syncs Sep 18, 2025
@mathieuartu mathieuartu force-pushed the fix/no-atomic-syncs-if-full-sync-in-progress branch from 33f10ab to af4c819 Compare September 18, 2025 12:18
@mathieuartu mathieuartu marked this pull request as ready for review September 18, 2025 12:18
@mathieuartu mathieuartu requested review from a team as code owners September 18, 2025 12:18
gantunesr
gantunesr previously approved these changes Sep 18, 2025
@mathieuartu mathieuartu force-pushed the fix/no-atomic-syncs-if-full-sync-in-progress branch from 3e573ce to 03dd30d Compare September 18, 2025 15:30
cursor[bot]

This comment was marked as outdated.

@mathieuartu mathieuartu enabled auto-merge (squash) September 18, 2025 15:35
@mathieuartu mathieuartu force-pushed the fix/no-atomic-syncs-if-full-sync-in-progress branch from 0bc6c4f to ffc4c7c Compare September 18, 2025 15:56
Co-authored-by: Charly Chevalier <charly.chevalier@consensys.net>
@mathieuartu mathieuartu merged commit 024efbe into main Sep 18, 2025
239 checks passed
@mathieuartu mathieuartu deleted the fix/no-atomic-syncs-if-full-sync-in-progress branch September 18, 2025 16:20
aganglada pushed a commit that referenced this pull request Sep 24, 2025
…l syncs (#6651)

## Explanation

This PR prevents single sync events from being enqueued if a full sync
is already in progress.
This prevents unnecessary client side network calls.

## References

Fixes: https://consensyssoftware.atlassian.net/browse/MUL-901

## Checklist

- [x] I've updated the test suite for new or updated code as appropriate
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [x] I've communicated my changes to consumers by [updating changelogs
for packages I've
changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs),
highlighting breaking changes as necessary
- [ ] I've prepared draft pull requests for clients and consumer
packages to resolve any breaking changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants