Reduced the constant minimum_delay_to_go_down to 10s.
authorFrancois Fleuret <francois@fleuret.org>
Wed, 30 Sep 2015 17:00:41 +0000 (19:00 +0200)
committerFrancois Fleuret <francois@fleuret.org>
Wed, 30 Sep 2015 17:00:41 +0000 (19:00 +0200)
breezed.c

index 6c4895b..dd360c1 100644 (file)
--- a/breezed.c
+++ b/breezed.c
@@ -40,7 +40,7 @@ const char *default_configuration_file = "/etc/breezed.conf";
 const int polling_delay = 5;
 
 /* Minimum time between last change and a change down. */
-const int minimum_delay_to_go_down = 30;
+const int minimum_delay_to_go_down = 10;
 
 /* Gap between a threshold to go up and a threshold to go down to
    reduce the oscillations. */