mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
removes unnecessary check fixes #163
This commit is contained in:
@@ -283,7 +283,7 @@ void server<endpoint>::start_listen(const boost::asio::ip::tcp::endpoint& e,size
|
||||
this->start_accept();
|
||||
}
|
||||
|
||||
if (num_threads < 0 || num_threads > MAX_THREAD_POOL_SIZE) {
|
||||
if (num_threads > MAX_THREAD_POOL_SIZE) {
|
||||
throw exception("listen called with invalid num_threads value");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user