We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a9776b commit aa3419bCopy full SHA for aa3419b
include/crow/http_server.h
@@ -182,7 +182,7 @@ namespace crow
182
uint16_t min_queue_idx = 0;
183
184
// TODO improve load balancing
185
- for (uint16_t i = 1; i < task_queue_length_pool_.size() && task_queue_length_pool_[min_queue_idx] > 0; i++)
+ for (size_t i = 1; i < task_queue_length_pool_.size() && task_queue_length_pool_[min_queue_idx] > 0; i++)
186
// No need to check other io_services if the current one has no tasks
187
{
188
if (task_queue_length_pool_[i] < task_queue_length_pool_[min_queue_idx])
0 commit comments