mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-06 13:08:14 +08:00
feat: use contentExpire
This commit is contained in:
@@ -44,7 +44,7 @@ module.exports = async (ctx) => {
|
||||
});
|
||||
|
||||
item.description = $(`#${id}`).html();
|
||||
ctx.cache.set(key, item.description, 24 * 60 * 60);
|
||||
ctx.cache.set(key, item.description);
|
||||
}
|
||||
|
||||
return Promise.resolve(item);
|
||||
|
||||
Reference in New Issue
Block a user