hunter/worker: fetch a maximum of 40 posts

This commit is contained in:
Astro 2022-11-06 22:30:43 +01:00
parent 5174e9e235
commit 7913f6fa5f
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ pub fn fetch_and_process(
client: reqwest::Client,
host: String,
) {
let url = format!("https://{}/api/v1/timelines/public", host);
let url = format!("https://{}/api/v1/timelines/public?limit=40", host);
tokio::spawn(async move {
match Feed::fetch(&client, &url).await {
Ok(feed) => {