Skip to content

Commit

Permalink
fix: do not use extra submit
Browse files Browse the repository at this point in the history
  • Loading branch information
Zelldon committed Sep 30, 2022
1 parent 4764cc4 commit 13122c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private void useActorControl(final Runnable task) {
LOG.debug("ProcessingScheduleService hasn't been opened yet, ignore scheduled task.");
return;
}
actorControl.submit(task);
task.run();
}

public ActorFuture<Void> open(final ActorControl control) {
Expand Down

0 comments on commit 13122c3

Please sign in to comment.