Merge branch 'main' into fix/simulation-task-ttl-too-short-wt

This commit is contained in:
Elie Habib
2026-03-27 01:43:05 +04:00
committed by GitHub

View File

@@ -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}` });
}