#include "traffcounter_impl.h"
#include "settings_impl.h"
#include "pidfile.h"
+#include "async_pool.h"
#include "eventloop.h"
#include "stg_timer.h"
return -1;
}
- auto& loop = EVENT_LOOP_SINGLETON::GetInstance();
+ auto& loop = EVENT_LOOP::instance();
+ STG::AsyncPoolST::start();
StoreLoader storeLoader(settings);
if (storeLoader.load())
manager.stop();
+ STG::AsyncPoolST::stop();
if (loop.Stop())
WriteServLog("Event loop not stopped.");