diff options
-rw-r--r-- | src/ingestor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ingestor.cpp b/src/ingestor.cpp index 4cd7859..0b102db 100644 --- a/src/ingestor.cpp +++ b/src/ingestor.cpp @@ -138,12 +138,12 @@ namespace WebStat { break; } } - else if (!curlOperations.empty()) { - handleCurlOperations(); - } else if (!interesting) { runJobsIdle(); } + if (!curlOperations.empty()) { + handleCurlOperations(); + } } while (!curlOperations.empty() && curl_multi_poll(curl.get(), nullptr, 0, INT_MAX, nullptr) == CURLM_OK) { handleCurlOperations(); |