]> arthur.barton.de Git - netdata.git/commitdiff
set minimum priority for fifo and rr
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Fri, 3 Feb 2017 23:21:23 +0000 (01:21 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Fri, 3 Feb 2017 23:21:23 +0000 (01:21 +0200)
src/daemon.c

index 0c8fc8c13deaaf13c954ced3e0d1d76c16b0f8f0..dddafec6e615e9644d87aecd1e32899cff318eae 100644 (file)
@@ -211,11 +211,11 @@ struct sched_def {
 #endif
 
 #ifdef SCHED_RR
-        { "rr", SCHED_RR, 99, SCHED_FLAG_PRIORITY_CONFIGURABLE },
+        { "rr", SCHED_RR, 0, SCHED_FLAG_PRIORITY_CONFIGURABLE },
 #endif
 
 #ifdef SCHED_FIFO
-        { "fifo", SCHED_FIFO, 99, SCHED_FLAG_PRIORITY_CONFIGURABLE },
+        { "fifo", SCHED_FIFO, 0, SCHED_FLAG_PRIORITY_CONFIGURABLE },
 #endif
 
 #ifdef SCHED_BATCH