diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ingestor.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ingestor.cpp b/src/ingestor.cpp index 692ddd2..def3ce1 100644 --- a/src/ingestor.cpp +++ b/src/ingestor.cpp @@ -247,14 +247,15 @@ namespace WebStat { unsigned int Ingestor::jobIngestParkedLines() { + unsigned int count = 0; for (auto pathIter = std::filesystem::directory_iterator {settings.fallbackDir}; pathIter != std::filesystem::directory_iterator {}; ++pathIter) { if (scn::scan<Crc32Value>(pathIter->path().filename().string(), "parked-{}.log")) { jobIngestParkedLine(pathIter); + count += 1; } } - // TODO return actual count - return 0; + return count; } void |
