Skip to content

Commit

Permalink
chore: Fix typo in LARS comments (#1373)
Browse files Browse the repository at this point in the history
  • Loading branch information
He-Pin authored Jun 18, 2024
1 parent ce9f5a0 commit 979964e
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 979964e

Please sign in to comment.