mirror of
https://github.com/astro/buzzrelay.git
synced 2024-11-21 11:41:00 +00:00
relay: shorten worker queue length from 1024 to 8
This commit is contained in:
parent
712cc328e1
commit
52cfe9c493
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ struct Job {
|
|||
}
|
||||
|
||||
fn spawn_worker(client: Arc<reqwest::Client>) -> Sender<Job> {
|
||||
let (tx, mut rx) = channel(1024);
|
||||
let (tx, mut rx) = channel(8);
|
||||
|
||||
tokio::spawn(async move {
|
||||
let mut errors = 0u32;
|
||||
|
|
Loading…
Reference in a new issue