You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "ruanwenjun (via GitHub)" <gi...@apache.org> on 2024/04/03 08:27:15 UTC
Re: [PR] [Fix][e2e] Fix e2e failed due to server overload. [dolphinscheduler]
ruanwenjun commented on code in PR #15578:
URL: https://github.com/apache/dolphinscheduler/pull/15578#discussion_r1549237102
##########
dolphinscheduler-standalone-server/src/main/resources/application.yaml:
##########
@@ -216,7 +216,7 @@ worker:
server-load-protection:
enabled: true
# Worker max cpu usage, when the worker's cpu usage is smaller then this value, worker server can be dispatched tasks.
- max-cpu-usage-percentage-thresholds: 0.9
+ max-cpu-usage-percentage-thresholds: 1.5
Review Comment:
This should be a bug, we may need to use getTotalCpuUsedPercentage() to compare with maxCpuUsagePercentageThresholds at ServerLoadProtection
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org