0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-13 09:11:50 +00:00

do not change the scheduling policy by default ()

This commit is contained in:
Costa Tsaousis 2025-03-08 21:47:16 +00:00 committed by GitHub
parent bb42987e8d
commit b71ecf1c03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -254,6 +254,10 @@ struct sched_def {
// the available members are important too!
// these are all the possible scheduling policies supported by netdata
// do not change the scheduling priority
{ "keep", 0, 0, SCHED_FLAG_KEEP_AS_IS },
{ "none", 0, 0, SCHED_FLAG_KEEP_AS_IS },
#ifdef SCHED_BATCH
{ "batch", SCHED_BATCH, 0, SCHED_FLAG_USE_NICE },
#endif
@ -275,10 +279,6 @@ struct sched_def {
{ "fifo", SCHED_FIFO, 0, SCHED_FLAG_PRIORITY_CONFIGURABLE },
#endif
// do not change the scheduling priority
{ "keep", 0, 0, SCHED_FLAG_KEEP_AS_IS },
{ "none", 0, 0, SCHED_FLAG_KEEP_AS_IS },
// array termination
{ NULL, 0, 0, 0 }
};