]> source.dussan.org Git - rspamd.git/commitdiff
Micro is 1 / 1000000, not 1 / 1000
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 15 Oct 2015 13:15:59 +0000 (14:15 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 15 Oct 2015 13:15:59 +0000 (14:15 +0100)
src/rspamd.c

index f6c682be6ed19994f197b5c747905b202da82616..fb6e1fcbfd33b76965999e3b792fd57db23b9879 100644 (file)
@@ -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);