Skip to content

Commit

Permalink
chore: Fix typo in LARS comments
Browse files Browse the repository at this point in the history
  • Loading branch information
He-Pin committed Jun 18, 2024
1 parent ce9f5a0 commit 40f25f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class LightArrayRevolverScheduler(config: Config, log: LoggingAdapter, threadFac
private val queue = new TaskQueue

private def schedule(ec: ExecutionContext, r: Runnable, delay: FiniteDuration): TimerTask =
if (delay.length <= 0L) { // use simple comparision instead of Ordering for performance
if (delay.length <= 0L) { // use simple comparison instead of Ordering for performance
if (stopped.get != null) throw SchedulerException("cannot enqueue after timer shutdown")
ec.execute(r)
NotCancellable
Expand Down

0 comments on commit 40f25f1

Please sign in to comment.