Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinKirs committed Dec 11, 2024
1 parent 005b74a commit 68a38ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public TaskProcessor(int numberOfThreads, int queueSize, ThreadFactory threadFa

public boolean addTask(AbstractTask task) {
try {
executor.execute(() -> runTask(task)); // 直接提交任务
executor.execute(() -> runTask(task));
log.info("Add task to executor, task id: {}", task.getTaskId());
return true;
} catch (RejectedExecutionException e) {
Expand Down

0 comments on commit 68a38ee

Please sign in to comment.