Skip to content

Commit

Permalink
change default nice level to 0 (netdata#19120)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyam8 authored Dec 3, 2024
1 parent fa0e45d commit 6f9305e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/daemon/daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ static void oom_score_adj(void) {

static void process_nice_level(void) {
#ifdef HAVE_NICE
int nice_level = (int)config_get_number(CONFIG_SECTION_GLOBAL, "process nice level", 19);
int nice_level = (int)config_get_number(CONFIG_SECTION_GLOBAL, "process nice level", 0);
if(nice(nice_level) == -1)
netdata_log_error("Cannot set netdata CPU nice level to %d.", nice_level);
else
Expand Down

0 comments on commit 6f9305e

Please sign in to comment.