This is an automated email from the ASF dual-hosted git repository.
hepin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git
The following commit(s) were added to refs/heads/main by this push:
new 979964eac9 chore: Fix typo in LARS comments (#1373)
979964eac9 is described below
commit 979964eac9cbcb052c0566a5de5af535e95fd7b7
Author: He-Pin(kerr) <[email protected]>
AuthorDate: Tue Jun 18 13:50:26 2024 +0800
chore: Fix typo in LARS comments (#1373)
---
.../main/scala/org/apache/pekko/actor/LightArrayRevolverScheduler.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/actor/src/main/scala/org/apache/pekko/actor/LightArrayRevolverScheduler.scala
b/actor/src/main/scala/org/apache/pekko/actor/LightArrayRevolverScheduler.scala
index f56b8c00ff..c82969ba59 100644
---
a/actor/src/main/scala/org/apache/pekko/actor/LightArrayRevolverScheduler.scala
+++
b/actor/src/main/scala/org/apache/pekko/actor/LightArrayRevolverScheduler.scala
@@ -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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]