diff options
| author | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2026-05-13 15:01:30 +0100 |
|---|---|---|
| committer | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2026-05-13 15:01:30 +0100 |
| commit | 868446ad4d8ba33053b048dd4d82b6d4f5328f07 (patch) | |
| tree | ba8a8ecdb32c42f0d9c938965590f220cab7ee20 /src/webstat_logger_main.cpp | |
| parent | 4739bb6a1565e69492eb0349298d86d4d0daad38 (diff) | |
| download | webstat-868446ad4d8ba33053b048dd4d82b6d4f5328f07.tar.bz2 webstat-868446ad4d8ba33053b048dd4d82b6d4f5328f07.tar.xz webstat-868446ad4d8ba33053b048dd4d82b6d4f5328f07.zip | |
Remove maxBatches
It's not required; DB insertion occurs only in a background thread now.
Diffstat (limited to 'src/webstat_logger_main.cpp')
| -rw-r--r-- | src/webstat_logger_main.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/webstat_logger_main.cpp b/src/webstat_logger_main.cpp index 04d59fc..1d14532 100644 --- a/src/webstat_logger_main.cpp +++ b/src/webstat_logger_main.cpp @@ -69,8 +69,6 @@ main(int argc, char ** argv) "Number of write/read write DB connections to keep open") ("db.maxBatchSize", po::value(&settings.maxBatchSize)->default_value(settings.maxBatchSize), "Number of access log entries to hold in memory before starting to write them to the DB") - ("db.maxBatches", po::value(&settings.maxBatches)->default_value(settings.maxBatches), - "Maximum number of batches to insert before returning to reading input") ("fallback.dir", po::value(&settings.fallbackDir)->default_value(settings.fallbackDir), "Path to write access logs to when the database is unavailable") ("jobs.check", po::value(&settings.checkJobsAfter)->default_value(settings.checkJobsAfter), |
