mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Create a task on zookeeper side when a task is created locally
This commit is contained in:
parent
b2f36b9b97
commit
b66bf049b5
11 changed files with 213 additions and 139 deletions
|
@ -110,7 +110,7 @@ impl AuthController {
|
|||
dbg!(controller_clone.store.delete_api_key(uuid).unwrap());
|
||||
}
|
||||
zk::EventType::NodeCreated | zk::EventType::NodeDataChanged => {
|
||||
let (key, stat) = zk.get_data(&path).await.unwrap();
|
||||
let (key, _stat) = zk.get_data(&path).await.unwrap();
|
||||
let key: Key = serde_json::from_slice(&key).unwrap();
|
||||
log::info!("The key {} has been deleted", key.uid);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue