From: Vsevolod Stakhov Date: Thu, 15 Oct 2015 13:15:59 +0000 (+0100) Subject: Micro is 1 / 1000000, not 1 / 1000 X-Git-Tag: 1.0.6~18 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=065b73d3df9bb9ff18cfbc653b18b37744a9c387;p=rspamd.git Micro is 1 / 1000000, not 1 / 1000 --- diff --git a/src/rspamd.c b/src/rspamd.c index f6c682be6..fb6e1fcbf 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -1057,7 +1057,7 @@ main (gint argc, gchar **argv, gchar **env) /* Check each 200 ms */ term_tv.tv_sec = 0; - term_tv.tv_usec = 200; + term_tv.tv_usec = 200000; /* Wait for workers termination */ g_hash_table_foreach_remove (rspamd_main->workers, wait_for_workers, NULL);