diff options
Diffstat (limited to 'src/zenhttp/monitoring/httpstats.cpp')
| -rw-r--r-- | src/zenhttp/monitoring/httpstats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenhttp/monitoring/httpstats.cpp b/src/zenhttp/monitoring/httpstats.cpp index 2370def0c..3877215a8 100644 --- a/src/zenhttp/monitoring/httpstats.cpp +++ b/src/zenhttp/monitoring/httpstats.cpp @@ -245,7 +245,7 @@ HttpStatsService::PushThreadFunction() while (m_PushEnabled.load()) { - m_PushEvent.Wait(5000); + m_PushEvent.Wait(1000); m_PushEvent.Reset(); if (!m_PushEnabled.load()) @@ -270,7 +270,7 @@ HttpStatsService::EnqueuePushTimer() return; } - m_PushTimer->expires_after(std::chrono::seconds(5)); + m_PushTimer->expires_after(std::chrono::seconds(1)); m_PushTimer->async_wait([this](const asio::error_code& Ec) { if (Ec) { |