Skip to content

Derive MaxEvents from PollingTicks in Epoll and Kqueue polling systems#4603

Merged
djspiewak merged 1 commit into
typelevel:series/3.7.xfrom
antoniojimeneznieto:kqueue-epoll-polling-ticks
Jun 20, 2026
Merged

Derive MaxEvents from PollingTicks in Epoll and Kqueue polling systems#4603
djspiewak merged 1 commit into
typelevel:series/3.7.xfrom
antoniojimeneznieto:kqueue-epoll-polling-ticks

Conversation

@antoniojimeneznieto

Copy link
Copy Markdown
Member

Replace the magic MaxEvents = 64 literal in EpollSystem and KqueueSystem with WorkStealingThreadPoolConstants.PollingTicks.

Spun out from @armanbilge's review comment on the io_uring polling system PR (#4584).

@antoniojimeneznieto antoniojimeneznieto marked this pull request as ready for review May 14, 2026 11:36

@djspiewak djspiewak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense! Hurray for fewer magic numbers

@djspiewak djspiewak merged commit 3845296 into typelevel:series/3.7.x Jun 20, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants