-
I am relatively new to Rust and Swiftide. I am running a scrapper loader from url from axum request
Howerver, the indexing pipeline never finishes. ( INFO indexing_pipeline.run: swiftide_indexing::pipeline: Starting indexing pipeline with 1 concurrency) . If I run spider separately, the document is received, so I assume this has something to do with indexingstream creation. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hey there, sorry for the late response! Sounds like this is a bug. To be fair, I build it last year, but have used it after an initial use case, very little, while Spider has had some major changes. I'll create an issue and take a look at it asap. I suspect for some reason one of the channels isn't closed properly, which keeps the stream active. If you're interested in helping out, you could enable rust debug logs, and see what happens. WHen you run spider separately, does it close its own channels? |
Beta Was this translation helpful? Give feedback.
Alright I have a temporary fix in #614. It uses
crawl
instead ofscrape
. I think it's a bug on their end, as calling subscribe when a scraper is active, results inscrape
hanging.