Implement the webhook

This commit is contained in:
Tamo 2023-11-27 15:11:22 +01:00 committed by Clément Renault
parent 1956045a06
commit d78ad51082
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
5 changed files with 36 additions and 3 deletions

View file

@ -228,6 +228,7 @@ fn open_or_create_database_unchecked(
indexes_path: opt.db_path.join("indexes"),
snapshots_path: opt.snapshot_dir.clone(),
dumps_path: opt.dump_dir.clone(),
webhook_url: opt.task_webhook_url.clone(),
task_db_size: opt.max_task_db_size.get_bytes() as usize,
index_base_map_size: opt.max_index_size.get_bytes() as usize,
enable_mdb_writemap: opt.experimental_reduce_indexing_memory_usage,