Skip to content

[Feature Request]Something similar to tokio::runtime::Builder::on_thread_start() for actix-web workers #3366

Answered by robjtede
SteveLauC asked this question in Ideas
Discussion options

You must be logged in to vote

I added an example of how to achieve CPU core pinning.

I'd prefer not to add an on_thread_start method to HttpServer since the app factory functions are run per-worker already.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by SteveLauC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants