mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
Relax RsEvent loop
This commit is contained in:
parent
5acb6c266e
commit
a887d205e9
@ -120,7 +120,7 @@ bool RsEventsService::unregisterEventsHandler(RsEventsHandlerId_t hId)
|
|||||||
void RsEventsService::data_tick()
|
void RsEventsService::data_tick()
|
||||||
{
|
{
|
||||||
auto nextRunAt = std::chrono::system_clock::now() +
|
auto nextRunAt = std::chrono::system_clock::now() +
|
||||||
std::chrono::milliseconds(1);
|
std::chrono::milliseconds(200);
|
||||||
|
|
||||||
std::shared_ptr<const RsEvent> eventPtr(nullptr);
|
std::shared_ptr<const RsEvent> eventPtr(nullptr);
|
||||||
size_t futureEventsCounter = 0;
|
size_t futureEventsCounter = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user