server: update limiter during idle time

This commit is contained in:
Thomas Schoebel-Theuer 2017-06-01 09:15:00 +02:00
parent 69d2f864d3
commit a856db082b
1 changed files with 1 additions and 0 deletions

View File

@ -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");