[Reconnoiter-devel] [reconnoiter commit] r834 - trunk/src

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Sun Sep 13 21:36:34 EDT 2009


Author: jesus
Date: 2009-09-13 21:36:33 -0400 (Sun, 13 Sep 2009)
New Revision: 834

Modified:
   trunk/src/noit_check.c
Log:
fixes #175

Modified: trunk/src/noit_check.c
===================================================================
--- trunk/src/noit_check.c	2009-09-13 14:43:17 UTC (rev 833)
+++ trunk/src/noit_check.c	2009-09-14 01:36:33 UTC (rev 834)
@@ -50,7 +50,7 @@
 #include "eventer/eventer.h"
 
 /* 60 seconds of possible stutter */
-#define MAX_INITIAL_STUTTER 60
+#define MAX_INITIAL_STUTTER 60000
 
 static noit_hash_table polls = NOIT_HASH_EMPTY;
 static noit_skiplist watchlist = { 0 };
@@ -104,7 +104,7 @@
   int stutter;
   if(!noit_conf_get_int(NULL, "/noit/checks/@max_initial_stutter", &stutter))
     stutter = MAX_INITIAL_STUTTER;
-  return stutter * 1000;
+  return stutter;
 }
 void
 noit_check_fake_last_check(noit_check_t *check,



More information about the Reconnoiter-devel mailing list