Skip to content

Prefork #4

Merged
merged 4 commits into from
May 20, 2021
Merged

Prefork #4

merged 4 commits into from
May 20, 2021

Conversation

donald
Copy link
Contributor

@donald donald commented May 20, 2021

Prefork server threads

For prefork we need the listen_socket and the filename in the threads,
so hoist these variables up into the static context.
Remove debug termination logic, which will be reimplemented in a
different way when we prefork.
@donald
Copy link
Contributor Author

donald commented May 20, 2021

I hate GitHub for arranging commits in a PR by time and not by topology. Doesn't make any sense.

Prefork threads to avoid overhead per client connect.

- Rename MAX_THREADS to THREADS
- Hoist accept loop into client threads
- Do not detach threads, use join instead
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant