From 6d729376031e5d63bb4bc761f9d14d4f972e0793 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sat, 5 Nov 2022 18:28:20 +0100 Subject: Indexer: Switch back to not serving frontend with actix This previously caused the frontend to be unresponsive when the crawler was passing results to the indexer. Now the frontend is again independently served by trunk and the api by actix, which makes them separate processes and the frontend can remain responsive. --- crawler/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawler') diff --git a/crawler/src/main.rs b/crawler/src/main.rs index 557ba4e..3700d65 100644 --- a/crawler/src/main.rs +++ b/crawler/src/main.rs @@ -55,7 +55,7 @@ async fn crawler(http_client: Client, root_urls: Vec<&str>, max_queue_size: usiz //push content to index let indexer_response = match push_crawl_entry_to_indexer( &http_client, - "http://127.0.0.1:8080/api/resource".to_string(), + "http://127.0.0.1:4444/api/resource".to_string(), url, content, ) -- cgit 1.4.1