multithreading #2

Merged
Oliver merged 19 commits from multithreading into main 2025-03-19 05:01:00 +00:00
Showing only changes of commit d11e7dd27c - Show all commits

View File

@ -163,7 +163,7 @@ async fn get_uncrawled_links(
debug!("Getting uncrawled links");
let mut response = db
.query("SELECT * FROM website WHERE crawled = false AND site CONTAINS type::string($format) LIMIT $count;")
.query("SELECT * FROM website WHERE crawled = false AND site ~ type::string($format) LIMIT $count;")
.bind(("format", filter))
.bind(("count", count))
.await