From a856db082b476740ecb248df6da15090bde1a322 Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Thu, 1 Jun 2017 09:15:00 +0200 Subject: [PATCH] server: update limiter during idle time --- kernel/mars_server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/mars_server.c b/kernel/mars_server.c index ebb4c2a8..b5f895bb 100644 --- a/kernel/mars_server.c +++ b/kernel/mars_server.c @@ -791,6 +791,7 @@ static int _server_thread(void *data) struct mars_socket handler_socket = {}; server_global.global_version++; + mars_limit(&server_limiter, 0); if (server_show_statist) show_statistics(&server_global, "server");