mirror of
https://github.com/vtnerd/monero-lws.git
synced 2024-12-22 19:39:23 +00:00
Fix "leader_thread" logic (for info messages) (#110)
This commit is contained in:
parent
38c4999555
commit
f300bff69f
1 changed files with 1 additions and 1 deletions
|
@ -994,7 +994,7 @@ namespace lws
|
||||||
auto data = std::make_shared<thread_data>(
|
auto data = std::make_shared<thread_data>(
|
||||||
std::move(client), disk.clone(), std::move(users), opts
|
std::move(client), disk.clone(), std::move(users), opts
|
||||||
);
|
);
|
||||||
threads.emplace_back(attrs, std::bind(&scan_loop, std::ref(self), std::move(data), opts.untrusted_daemon, false /*leader thread*/));
|
threads.emplace_back(attrs, std::bind(&scan_loop, std::ref(self), std::move(data), opts.untrusted_daemon, leader_thread));
|
||||||
}
|
}
|
||||||
|
|
||||||
auto last_check = std::chrono::steady_clock::now();
|
auto last_check = std::chrono::steady_clock::now();
|
||||||
|
|
Loading…
Reference in a new issue