Skip to content

Commit

Permalink
branch-3.0: [fix](routine load) fix invalid EOF tasks scheduling delay
Browse files Browse the repository at this point in the history
…apache#44949 (apache#45087)

Cherry-picked from apache#44949

Co-authored-by: hui lai <[email protected]>
  • Loading branch information
github-actions[bot] and sollhui authored Dec 6, 2024
1 parent acae6ad commit 0525ed7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private void process() throws UserException, InterruptedException {
if (routineLoadTaskInfo.getIsEof()) {
RoutineLoadJob routineLoadJob = routineLoadManager.getJob(routineLoadTaskInfo.getJobId());
if (System.currentTimeMillis() - routineLoadTaskInfo.getLastScheduledTime()
< routineLoadJob.getMaxBatchIntervalS()) {
< routineLoadJob.getMaxBatchIntervalS() * 1000) {
needScheduleTasksQueue.addLast(routineLoadTaskInfo);
return;
}
Expand Down

0 comments on commit 0525ed7

Please sign in to comment.