This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Remove redundant locks in subnet manager #240
Labels
good first issue
Good for newcomers
Comments
I did a very simple experiment. I removed
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The use of the new
subnetsLock
may be more efficient and defeat the purpose ofService.lk
:eudico/chain/consensus/hierarchical/subnet/submgr/manager.go
Lines 830 to 831 in 12fceca
We need to re-evaluate the code to see if we can remove any of them, they seem redundant.
//cc @dnkolegov
The text was updated successfully, but these errors were encountered: