bootstrap_attempt::pulling is accessed in multiple threads and not always guarded by a mutex which could cause consistency errors hanging bootstrapping.
This commit is contained in:
parent
e8cc818ae5
commit
ea57be5832
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ public:
|
|||
void requeue_pull (rai::pull_info const &);
|
||||
std::deque <rai::pull_info> pulls;
|
||||
std::atomic <unsigned> connections;
|
||||
unsigned pulling;
|
||||
std::atomic <unsigned> pulling;
|
||||
std::shared_ptr <rai::node> node;
|
||||
rai::attempt_state state;
|
||||
std::unordered_set <rai::endpoint> attempted;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue