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

Remove RwLock on TransactionNotifier #33962

Conversation

lijunwangs
Copy link
Contributor

@lijunwangs lijunwangs commented Nov 6, 2023

Problem

The RwLock on TransactionNotify interface is unnecessary as there is no method need write protection.

Summary of Changes

Remove unnecessary RwLock on TransactionNotify in geyser
Fixes #

Copy link

codecov bot commented Nov 7, 2023

Codecov Report

Merging #33962 (4ae21fc) into master (8c69a0e) will increase coverage by 0.0%.
Report is 2 commits behind head on master.
The diff coverage is 71.4%.

@@           Coverage Diff           @@
##           master   #33962   +/-   ##
=======================================
  Coverage    81.9%    81.9%           
=======================================
  Files         811      811           
  Lines      219329   219327    -2     
=======================================
+ Hits       179696   179708   +12     
+ Misses      39633    39619   -14     

Copy link
Contributor

@CriesofCarrots CriesofCarrots left a comment

Choose a reason for hiding this comment

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

r+ nit

rpc/src/transaction_status_service.rs Outdated Show resolved Hide resolved
@lijunwangs lijunwangs merged commit eba1b2d into solana-labs:master Nov 7, 2023
17 checks passed
@cavemanloverboy
Copy link
Contributor

This is true of all notifies:

#32913

@lijunwangs
Copy link
Contributor Author

This is true of all notifies:

#32913

Yes. Getting rid of them in a few PRs.

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