diff options
Diffstat (limited to 'crawler')
-rw-r--r-- | crawler/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawler/src/main.rs b/crawler/src/main.rs index e8efe77..d74f1f8 100644 --- a/crawler/src/main.rs +++ b/crawler/src/main.rs @@ -19,7 +19,7 @@ async fn crawler(http_client: Client, root_urls: Vec<&str>) { dbg!("Starting to crawl!"); //add root urls to queue - TODO: max q size - let (tx_crawling_queue, rx_crawling_queue) = async_channel::bounded::<String>(4444); + let (tx_crawling_queue, rx_crawling_queue) = async_channel::bounded::<String>(2222); for url in root_urls { tx_crawling_queue.send(String::from(url)).await.unwrap(); } |