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

perf(p2p): Remove unnecessary atomic read (backport #2950) (#2972) (backport #41) #50

Merged
merged 1 commit into from
May 3, 2024

Commits on May 3, 2024

  1. perf(p2p): Remove unnecessary atomic read (backport cometbft#2950) (c…

    …ometbft#2972) (#41)
    
    This PR is a driveby change. We were doing an atomic read here, but this
    is unnecessary. Nothing in the codebase modified this variable after
    instantiation.
    
    Doesn't really feel changelog worthy, but I can add one if we want. Felt
    like a minor code nit<hr>This is an automatic backport of pull request
    cometbft#2950 done by [Mergify](https://mergify.com).
    
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
    (cherry picked from commit c1cebed)
    czarcas7ic authored and mergify[bot] committed May 3, 2024
    Configuration menu
    Copy the full SHA
    7edf825 View commit details
    Browse the repository at this point in the history