Skip to content

Commit

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

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 08c8a41 commit 3018e9a
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 3018e9a

Please sign in to comment.