Skip to content

Commit

Permalink
chore: Reduce channel bounds to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusc93 committed Oct 25, 2023
1 parent 042f482 commit a04000e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extensions/warp-ipfs/src/store/document/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl IdentityCache {
None => None,
};

let (tx, rx) = futures::channel::mpsc::channel(1);
let (tx, rx) = futures::channel::mpsc::channel(0);

let mut task = IdentityCacheTask {
ipfs: ipfs.clone(),
Expand Down
2 changes: 1 addition & 1 deletion extensions/warp-ipfs/src/store/document/conversation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl Conversations {
None => None,
};

let (tx, rx) = futures::channel::mpsc::channel(1);
let (tx, rx) = futures::channel::mpsc::channel(0);

let mut task = ConversationTask {
ipfs: ipfs.clone(),
Expand Down
2 changes: 1 addition & 1 deletion extensions/warp-ipfs/src/store/document/root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ impl RootDocumentMap {
None => None,
};

let (tx, rx) = futures::channel::mpsc::channel(1);
let (tx, rx) = futures::channel::mpsc::channel(0);

let mut task = RootDocumentTask {
ipfs: ipfs.clone(),
Expand Down

0 comments on commit a04000e

Please sign in to comment.