Skip to content

Conversation

The-EDev
Copy link
Member

concurrency (whether the variable or function) used to represent the number of worker threads to be used.

This PR changes that to include the primary thread (acceptor thread) as well as all the worker threads.

This does have the effect of making Crow report a minimum of 2 threads (which is the actual minimum thread count).

I also removed the redundant check for the value being 0 in http_server.h since that's already being done in app.h.

mrozigor
mrozigor previously approved these changes Dec 22, 2021
(it actually reflects the thread count properly)
@The-EDev The-EDev merged commit d668fa1 into master Dec 24, 2021
@The-EDev The-EDev deleted the concurrency_fix branch December 24, 2021 20:09
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