about summary refs log tree commit diff
path: root/crawler
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-11-05 18:28:20 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-11-05 18:28:22 +0100
commit6d729376031e5d63bb4bc761f9d14d4f972e0793 (patch)
tree1fb0a40e40a337981b3317c48349d8243abababf /crawler
parentIndexer: Hold indexer lock for less time when in search endpoint (diff)
downloadOSSE-6d729376031e5d63bb4bc761f9d14d4f972e0793.tar.gz
OSSE-6d729376031e5d63bb4bc761f9d14d4f972e0793.tar.bz2
OSSE-6d729376031e5d63bb4bc761f9d14d4f972e0793.zip
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.
Diffstat (limited to 'crawler')
-rw-r--r--crawler/src/main.rs2
1 files changed, 1 insertions, 1 deletions
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,
             )