add the analytics

This commit is contained in:
Tamo 2023-12-04 10:38:01 +01:00 committed by Clément Renault
parent 4fb25b8782
commit 19736cefe8
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -264,6 +264,7 @@ struct Infos {
ignore_snapshot_if_db_exists: bool,
http_addr: bool,
http_payload_size_limit: Byte,
task_queue_webhook: bool,
log_level: String,
max_indexing_memory: MaxMemory,
max_indexing_threads: MaxThreads,
@ -290,7 +291,7 @@ impl From<Opt> for Infos {
http_addr,
master_key: _,
env,
task_webhook_url: _,
task_webhook_url,
max_index_size: _,
max_task_db_size: _,
http_payload_size_limit,
@ -344,6 +345,7 @@ impl From<Opt> for Infos {
http_addr: http_addr != default_http_addr(),
http_payload_size_limit,
experimental_max_number_of_batched_tasks,
task_queue_webhook: task_webhook_url.is_some(),
log_level: log_level.to_string(),
max_indexing_memory,
max_indexing_threads,