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

[FEATURE] Integrity check runs in worker #90

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

aristidesstaffieri
Copy link
Contributor

What
Adds worker module and moves integrity check to run in worker thread
Moves common helpers to helper files

Why
This will help keep the main thread clear for API usage while the integrity check runs in worker thread

@aristidesstaffieri aristidesstaffieri self-assigned this Jun 27, 2024
@stellar-jenkins
Copy link

email: conf.mercuryIntegrityCheckEmail,
password: conf.mercuryIntegrityCheckPass,
},
// the worker is not properly instantiated when running this app with ts-node
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't found a great way to get this to work with out dev server, I think for now the easiest thing to do is to build and run the app manually using the webpack build when we need to test/work on the integrity check. It's a little cumbersome but not sure how to make it easier yet. Thoughts? @piyalbasu

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting - yeah, I don't have a great solution off the top of my head. Since we'll likely be making more changes to the endpoints rather than the integrity checks, maybe this friction is fine for now. If it becomes a problem, we could always come back to this

@aristidesstaffieri aristidesstaffieri merged commit 602c323 into release/1.4.0 Jun 27, 2024
4 checks passed
@aristidesstaffieri aristidesstaffieri deleted the feature/integrity-check-thread branch June 27, 2024 21:17
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.

None yet

3 participants