From 9c2bdc6d0c53cfc488dada13862c7878c5f66175 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Fri, 31 Dec 2010 13:15:30 +0100 Subject: [PATCH] Main loop: increase timer. Timer in the main loop was of 100 usec. This patch increases it to 10 ms which should be a reasonnable delay to declare some threads dead. Signed-off-by: Eric Leblond --- src/suricata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/suricata.c b/src/suricata.c index 269b480596..c1f3821baf 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -1280,7 +1280,7 @@ int main(int argc, char **argv) TmThreadCheckThreadState(); - usleep(100); + usleep(10* 1000); } /* Update the engine stage/status flag */