mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
Check if number of threads is valid.
This commit is contained in:
parent
b6f8e805ff
commit
942fcd1bc9
2
.gitignore
vendored
2
.gitignore
vendored
@ -35,7 +35,7 @@ build
|
||||
crow_all.h
|
||||
|
||||
# conan.io
|
||||
build/
|
||||
build*/
|
||||
|
||||
#Doxygen
|
||||
html/
|
||||
|
@ -31,7 +31,7 @@ namespace crow
|
||||
signals_(io_service_, SIGINT, SIGTERM),
|
||||
tick_timer_(io_service_),
|
||||
handler_(handler),
|
||||
concurrency_(concurrency),
|
||||
concurrency_(concurrency == 0 ? 1 : concurrency),
|
||||
port_(port),
|
||||
bindaddr_(bindaddr),
|
||||
middlewares_(middlewares),
|
||||
|
Loading…
Reference in New Issue
Block a user