Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4452a14

Browse files
authored
fix: fix log spam related to skipping custom nice scores (#10206)
1 parent7c71053 commit4452a14

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎agent/agent.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,11 +1290,7 @@ func (a *agent) manageProcessPriority(ctx context.Context) ([]*agentproc.Process
12901290
// Getpriority actually returns priority for the nice value
12911291
// which is niceness + 20, so here 20 = a niceness of 0 (aka unset).
12921292
ifscore!=20 {
1293-
ifscore!=niceness {
1294-
logger.Debug(ctx,"skipping process due to custom niceness",
1295-
slog.F("niceness",score),
1296-
)
1297-
}
1293+
// We don't log here since it can get spammy
12981294
continue
12991295
}
13001296

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp