Remove hidden but usable CLI arguments

This commit is contained in:
Clément Renault 2023-01-05 14:25:41 +01:00
parent 8a3da0c2a7
commit cda529c07b
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
2 changed files with 8 additions and 31 deletions

View file

@ -281,12 +281,7 @@ impl From<Opt> for Infos {
ScheduleSnapshot::Enabled(interval) => Some(interval),
};
let IndexerOpts {
log_every_n: _,
max_nb_chunks: _,
max_indexing_memory,
max_indexing_threads,
} = indexer_options;
let IndexerOpts { max_indexing_memory, max_indexing_threads } = indexer_options;
// We're going to override every sensible information.
// We consider information sensible if it contains a path, an address, or a key.