We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b91d3a + b4ad3fc commit 3845296Copy full SHA for 3845296
2 files changed
core/native/src/main/scala/cats/effect/unsafe/EpollSystem.scala
@@ -40,7 +40,7 @@ object EpollSystem extends PollingSystem {
40
import epoll._
41
import epollImplicits._
42
43
- private[this] final val MaxEvents = 64
+ private[this] final val MaxEvents = WorkStealingThreadPoolConstants.PollingTicks
44
45
type Api = FileDescriptorPoller
46
core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala
@@ -39,7 +39,7 @@ object KqueueSystem extends PollingSystem {
39
import event._
import eventImplicits._
- private final val MaxEvents = 64
+ private final val MaxEvents = WorkStealingThreadPoolConstants.PollingTicks
type Api = Kqueue
0 commit comments