mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Change the UpdateStore to have different processed and pending meta types
This commit is contained in:
parent
16ab3e02a9
commit
4eeeccb9cd
2 changed files with 32 additions and 21 deletions
|
@ -359,7 +359,7 @@ pub fn run(opt: Opt) -> anyhow::Result<()> {
|
|||
});
|
||||
|
||||
async fn buf_stream(
|
||||
update_store: Arc<UpdateStore<String>>,
|
||||
update_store: Arc<UpdateStore<String, String>>,
|
||||
update_status_sender: broadcast::Sender<UpdateStatus<String>>,
|
||||
mut stream: impl futures::Stream<Item=Result<impl bytes::Buf, warp::Error>> + Unpin,
|
||||
) -> Result<impl warp::Reply, warp::Rejection>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue