-
Notifications
You must be signed in to change notification settings - Fork 100
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
dcr: Make tip an atomic. #3087
base: master
Are you sure you want to change the base?
dcr: Make tip an atomic. #3087
Conversation
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.
How about if the tip becomes an atomic.Value
, and we just have the tipMtx
in handleTipChange
to avoid concurrent execution. Still agree that syncTxHistory
can be run as a goroutine.
Yeah That works. More changes but maybe worth it if theres more bugs lurking around. |
c4f3bfd
to
cbeaa2f
Compare
Now tip is an atomic.Value |
I did that with goele now tested 30..40 hours .. definitely improvement |
cbeaa2f
to
b7c1ee8
Compare
Just rebased. |
closes #3086
*NativeWallet.mixFunds()
is called in*ExchangeWallet.handleTipChange
asdcr.cycleMixer
wheredcr.tipMtx
is held. This is similar to the deadlock in #3066 .