-
Notifications
You must be signed in to change notification settings - Fork 95
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
client/core: resubscribe to order books #503
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.
This is subscribing to all of the market order books fine for me, but I wonder if it could be made to subscribe only to markets the client is currently viewing? I'm not sure how that would work tbh. Also, markets don't seem to unsubscribe. When browsing with the webserver, markets do unsubscribe after some time has passed. And if the markets are subscribed with the method here, and I visit the page with my browser, I start seeing errors: 2020-06-23 18:36:59.532 [ERR] CORE: error unsubscribing from dcr_btc
It would be easier to debug if these logs included what market they are for: 2020-06-23 18:41:20.003 [TRC] CORE: notify: |DATA| (epoch) - Index: 159290528
@JoeGruffins |
4280547
to
a6fb43b
Compare
Looks good, haven't tested yet however. |
961b201
to
f2f4d98
Compare
f2f4d98
to
49c8aee
Compare
294a8d0
to
2496ceb
Compare
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.
Working well now.
2496ceb
to
f0c8bd5
Compare
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.
Looks good.
Resolve #463