Issue #11 Improve CEventLoop API

This commit is contained in:
Mat Sutcliffe
2021-09-28 18:34:25 +01:00
parent 3bd4b47d65
commit 002cd1d5b9
4 changed files with 38 additions and 41 deletions

View File

@@ -152,7 +152,8 @@ namespace BlackCore::Db
{
// just give the system some time to relax, consolidation is time consuming
if (!this->doWorkCheck()) { return; }
CEventLoop::processEventsFor(1000);
CEventLoop eventLoop;
eventLoop.exec(1000);
}
}
}