Browse Source

Default strategy is random. Default theshold is 99.0

Serj Kalichev 10 years ago
parent
commit
ecebce351f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      birq.c
  2. 1 1
      birq.h

+ 1 - 1
birq.c

@@ -232,7 +232,7 @@ static struct options *opts_init(void)
 	opts->ht = 0;
 	opts->long_interval = BIRQ_LONG_INTERVAL;
 	opts->short_interval = BIRQ_SHORT_INTERVAL;
-	opts->strategy = BIRQ_CHOOSE_MAX;
+	opts->strategy = BIRQ_CHOOSE_RND;
 
 	return opts;
 }

+ 1 - 1
birq.h

@@ -11,6 +11,6 @@
 
 /* Threshold to consider CPU as overloaded.
    In percents, float value. Can't be greater than 100.0 */
-#define BIRQ_DEFAULT_THRESHOLD 98.0
+#define BIRQ_DEFAULT_THRESHOLD 99.0
 
 #endif