Repository navigation
perf(p2p): Remove unnecessary atomic read - #2950
Conversation
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 (cherry picked from commit 9ae5886)
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 (cherry picked from commit 9ae5886)
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 (cherry picked from commit 9ae5886)
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 #2950 done by [Mergify](https://mergify.com). Co-authored-by: Dev Ojha <[email protected]>
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 #2950 done by [Mergify](https://mergify.com). Co-authored-by: Dev Ojha <[email protected]>
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 #2950 done by [Mergify](https://mergify.com). Co-authored-by: Dev Ojha <[email protected]>
…ometbft#2972) 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: Dev Ojha <[email protected]>
…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 <[email protected]>
…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 <[email protected]> (cherry picked from commit c1cebed)
…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 <[email protected]> (cherry picked from commit c1cebed)
…ometbft#2972) (#41) (#50) 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 <[email protected]> (cherry picked from commit c1cebed) Co-authored-by: Adam Tucker <[email protected]>
…ometbft#2972) (#41) (#51) 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 <[email protected]> (cherry picked from commit c1cebed) Co-authored-by: Adam Tucker <[email protected]>
|
Hi, getting here a bit late... I've checked the call hierarchy of
In principle, we could suspect there might be a race between Posting this here to further document this change. |
|
Just for context, calling |
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