-
Notifications
You must be signed in to change notification settings - Fork 396
fix: improve concurrency handling of users #2014
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
Closed
Closed
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
08d51b6
feat: move verification after the message and replamcents validations
MarcosNicolau 766fa70
feat: proof processing via channels
MarcosNicolau f48157d
feat: lock per user implementation
MarcosNicolau 44c36e6
feat: batch building mutex
MarcosNicolau ef8c9a3
refactor: move user update to batch state
MarcosNicolau d25bef1
chore: address clippy warnings
MarcosNicolau 653283c
fix: handle block don't spawn a new task for it
MarcosNicolau 067b64a
chore: better tracing for debug mode
MarcosNicolau 4aabc53
fix: remove sleep from verify_proof
MarcosNicolau ae55834
chore: remove proof processor
MarcosNicolau 6cdf54e
feat: priority for batch building process when acquiring user locks
MarcosNicolau 26b1641
refactor: naming, docs, logs, style
MarcosNicolau 7a7df60
fix: clone user_proof_processing_mutexes to prevent deadlock
MarcosNicolau 30b7c44
fix: task-sender generate proofs target
MarcosNicolau a46bf2c
refactor: improvements over locks and code style
MarcosNicolau 8837ea4
refactor: remove building_batch_mutex and sync between proof processi…
MarcosNicolau c48c272
docs: batcher mutexes
MarcosNicolau 96def6c
refactor: comments, tracing and err messages
MarcosNicolau 8787958
fix: move batch queue full condition to add_to_batch
MarcosNicolau a2c05bf
chore: show ethers_providers warn log level by default
MarcosNicolau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be reverted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, the
gnark_groth16wasn't added to the task-sender. We should update the commands args in the task sender first in other pr. I fixed that here because I used the task-sender to test.