HomePhabricator

Improve shutdown process

Description

Improve shutdown process

Summary:
Backport of Core PR11006
https://github.com/bitcoin/bitcoin/pull/11006
Prevents a 2-5 second delay every time a node shuts down.

Test Plan:
test_runner.py
Before change:

ALL                                     | ✓ Passed  | 579 s (accumulated)
Runtime: 312 s

After change:

ALL                                     | ✓ Passed  | 325 s (accumulated)
Runtime: 183 s

Reviewers: deadalnix, Fabien, #bitcoin_abc

Reviewed By: deadalnix, Fabien, #bitcoin_abc

Subscribers: markblundeberg, dagurval, teamcity, schancel

Differential Revision: https://reviews.bitcoinabc.org/D2544

Details

Provenance
João Barbosa <joao.paulo.barbosa@gmail.com>Authored on Feb 21 2019, 18:49
jasonbcoxCommitted on Feb 21 2019, 19:54
jasonbcoxPushed on Feb 21 2019, 21:53
Reviewer
Restricted Project
Differential Revision
D2544: Improve shutdown process
Parents
rSTAGING68a8aec201e4: Merge #12366: http: Join worker threads before deleting work queue
Branches
Unknown
Tags
Unknown