Skip to content

Commit

Permalink
Fix typo in TaskExecutor
Browse files Browse the repository at this point in the history
  • Loading branch information
hantangwangd authored and skairali committed Oct 15, 2023
1 parent 9378300 commit 6791ea4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ private void splitFinished(PrioritizedSplitRunner split)

private synchronized void scheduleTaskIfNecessary(TaskHandle taskHandle)
{
// Worker skip processing split if jvm heap usage crosses configured threhold
// Worker skip processing split if jvm heap usage crosses configured threshold
// Helps reduce memory pressure on the worker and avoid OOMs
if (isLowMemory()) {
log.debug("Skip task scheduling due to low memory");
Expand All @@ -508,7 +508,7 @@ private synchronized void scheduleTaskIfNecessary(TaskHandle taskHandle)

private synchronized void addNewEntrants()
{
// Worker skip processing split if jvm heap usage crosses configured threhold
// Worker skip processing split if jvm heap usage crosses configured threshold
// Helps reduce memory pressure on the worker and avoid OOMs
if (isLowMemory()) {
log.debug("Skip polling next split worker due to low memory");
Expand Down

0 comments on commit 6791ea4

Please sign in to comment.