mirror of https://github.com/schoebel/mars
server: update limiter during idle time
This commit is contained in:
parent
69d2f864d3
commit
a856db082b
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue