mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
Add an Authorization Header along with the webhook calls
This commit is contained in:
parent
19736cefe8
commit
fa2b96b9a5
5 changed files with 33 additions and 1 deletions
|
@ -229,6 +229,7 @@ fn open_or_create_database_unchecked(
|
|||
snapshots_path: opt.snapshot_dir.clone(),
|
||||
dumps_path: opt.dump_dir.clone(),
|
||||
webhook_url: opt.task_webhook_url.as_ref().map(|url| url.to_string()),
|
||||
webhook_authorization_header: opt.task_webhook_authorization_header.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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue