feat: add arguments for max responses
This commit is contained in:
parent
9f8f17a783
commit
0e01b09ddd
6 changed files with 180 additions and 9 deletions
|
|
@ -18,7 +18,7 @@ enum Event {
|
|||
}
|
||||
|
||||
pub async fn main() {
|
||||
let (event_tx, event_rx) = flume::bounded::<Event>(8);
|
||||
let (event_tx, event_rx) = flume::bounded::<Event>(20);
|
||||
|
||||
// Channel for cancelling searches that are in progress.
|
||||
let (interrupt_tx, interrupt_rx) = flume::bounded::<()>(1);
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ impl App {
|
|||
}
|
||||
|
||||
async fn reload(&mut self) {
|
||||
let (tx, rx) = flume::bounded::<ScriptInfo>(8);
|
||||
let (tx, rx) = flume::bounded::<ScriptInfo>(20);
|
||||
|
||||
let mut queue = VecDeque::new();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue