mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-11-16 15:57:39 +00:00
Fixed wrong uv loop in p2pserver::flush_cache()
This commit is contained in:
parent
fcb9e25fb1
commit
dbf18c34a4
1 changed files with 1 additions and 1 deletions
|
@ -571,7 +571,7 @@ void P2PServer::flush_cache()
|
|||
work->req.data = work;
|
||||
work->cache = m_cache;
|
||||
|
||||
const int err = uv_queue_work(uv_default_loop(), &work->req,
|
||||
const int err = uv_queue_work(&m_loop, &work->req,
|
||||
[](uv_work_t* req)
|
||||
{
|
||||
bkg_jobs_tracker.start("P2PServer::flush_cache");
|
||||
|
|
Loading…
Reference in a new issue