mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
Merge branch 'main' into fix/simulation-task-ttl-too-short-wt
This commit is contained in:
@@ -29,7 +29,7 @@ export async function fetchArxivPapers(
|
||||
cursor: '',
|
||||
});
|
||||
return resp.papers;
|
||||
}, []);
|
||||
}, [], { cacheKey: `${category}:${query}:${pageSize}` });
|
||||
}
|
||||
|
||||
export async function fetchTrendingRepos(
|
||||
@@ -45,7 +45,7 @@ export async function fetchTrendingRepos(
|
||||
cursor: '',
|
||||
});
|
||||
return resp.repos;
|
||||
}, []);
|
||||
}, [], { cacheKey: `${language}:${period}:${pageSize}` });
|
||||
}
|
||||
|
||||
export async function fetchHackernewsItems(
|
||||
@@ -59,5 +59,5 @@ export async function fetchHackernewsItems(
|
||||
cursor: '',
|
||||
});
|
||||
return resp.items;
|
||||
}, []);
|
||||
}, [], { cacheKey: `${feedType}:${pageSize}` });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user