Reduce initial timer delays

This is test code anyways
This commit is contained in:
King_DuckZ 2020-08-12 01:04:16 +01:00
parent ef39dee43e
commit 182e2148ac

View file

@ -54,9 +54,9 @@ void test(oro::Api* api, oro::OriginsDB* db, std::size_t thread_count) {
eve::Eventia worker;
pool.submit(worker.event_functor());
auto timer_items = worker.make_timer<TimerItems>(5.0, &pool, api, db);
auto timer_icons = worker.make_timer<TimerIcons>(10.0, &pool, api, db);
auto timer_shops = worker.make_timer<TimerShops>(15.0, &pool, api, db);
auto timer_items = worker.make_timer<TimerItems>(0.5, &pool, api, db);
auto timer_icons = worker.make_timer<TimerIcons>(1.0, &pool, api, db);
auto timer_shops = worker.make_timer<TimerShops>(1.5, &pool, api, db);
join(pool);
}