Commit 8759bc13ab4f98423007b69d7227671929a42141

Con Kolivas 2011-09-23T10:59:55

Hard code the watchdog interval to 3 seconds in case log interval is greatly different.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/main.c b/main.c
index 9c3b127..cd26ef1 100644
--- a/main.c
+++ b/main.c
@@ -4696,7 +4696,7 @@ static bool active_device(int thr_id)
  * died. */
 static void *watchdog_thread(void *userdata)
 {
-	const unsigned int interval = opt_log_interval / 2 ? : 1;
+	const unsigned int interval = 3;
 	static struct timeval rotate_tv;
 	struct timeval zero_tv;