Relax RsEvent loop

This commit is contained in:
Gioacchino Mazzurco 2019-09-25 22:12:04 +02:00
parent 5acb6c266e
commit a887d205e9
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -120,7 +120,7 @@ bool RsEventsService::unregisterEventsHandler(RsEventsHandlerId_t hId)
void RsEventsService::data_tick()
{
auto nextRunAt = std::chrono::system_clock::now() +
std::chrono::milliseconds(1);
std::chrono::milliseconds(200);
std::shared_ptr<const RsEvent> eventPtr(nullptr);
size_t futureEventsCounter = 0;