Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: move PRESYNC_NAMESPACES into central constants file #767

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

EvanHahn
Copy link
Contributor

@EvanHahn EvanHahn commented Aug 26, 2024

This change should have no impact.

The PRESYNC_NAMESPACES array is pretty central, but was stuffed away in sync/peer-sync-controller.js; that doesn't quite feel like where it belongs.

Now it's in a more central spot: constants.js.

I think this is useful on its own, but it should make a future change easier.

@EvanHahn EvanHahn requested a review from achou11 August 26, 2024 15:48
Base automatically changed from move-namespace-type to main August 26, 2024 15:48
@EvanHahn EvanHahn force-pushed the move-presync-namespaces-to-constants branch from 11baacd to 49d432c Compare August 26, 2024 15:49
This change should have no impact.

The `PRESYNC_NAMESPACES` array is pretty central, but was stuffed away
in `sync/peer-sync-controller.js`; that doesn't quite feel like where it
belongs.

Now it's in a more central spot: `constants.js`.

I think this is useful on its own, but it should make a future change
easier.
@EvanHahn EvanHahn force-pushed the move-presync-namespaces-to-constants branch from 49d432c to 46bbaff Compare August 26, 2024 16:01
@EvanHahn EvanHahn merged commit 4b02546 into main Aug 26, 2024
7 checks passed
@EvanHahn EvanHahn deleted the move-presync-namespaces-to-constants branch August 26, 2024 16:07
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.

2 participants