mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-23 21:26:26 +00:00
Try with unbounded
This commit is contained in:
@ -17,8 +17,8 @@ use crate::vector::Embedding;
|
|||||||
use crate::{DocumentId, Index};
|
use crate::{DocumentId, Index};
|
||||||
|
|
||||||
/// The capacity of the channel is currently in number of messages.
|
/// The capacity of the channel is currently in number of messages.
|
||||||
pub fn extractor_writer_channel(cap: usize) -> (ExtractorSender, WriterReceiver) {
|
pub fn extractor_writer_channel(_cap: usize) -> (ExtractorSender, WriterReceiver) {
|
||||||
let (sender, receiver) = crossbeam_channel::bounded(cap);
|
let (sender, receiver) = crossbeam_channel::unbounded();
|
||||||
(
|
(
|
||||||
ExtractorSender {
|
ExtractorSender {
|
||||||
sender,
|
sender,
|
||||||
|
Reference in New Issue
Block a user