Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

#864 fix reconnection sync crash and bump the sync fetch span to 100 …#880

Merged
heifner merged 1 commit intomasterfrom
p2p-stat-238-gh-864
Dec 6, 2017
Merged

#864 fix reconnection sync crash and bump the sync fetch span to 100 …#880
heifner merged 1 commit intomasterfrom
p2p-stat-238-gh-864

Conversation

@pmesnier
Copy link
Contributor

@pmesnier pmesnier commented Dec 6, 2017

…blocks

@pmesnier
Copy link
Contributor Author

pmesnier commented Dec 6, 2017

note my editor is set to nuke trailing whitespace

out_queue.clear();
if(response_expected) {
response_expected->cancel();
response_expected.reset();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was added by: PR #831 .

Should it instead be:
response_expected.reset(new boost::asio::steady_timer(app().get_io_service()));

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, I am simply not getting rid of the current timer instance.

@heifner heifner merged commit 67c312f into master Dec 6, 2017
@pmesnier pmesnier deleted the p2p-stat-238-gh-864 branch December 6, 2017 16:02
spoonincode pushed a commit that referenced this pull request Dec 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants