mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-13 16:49:31 +08:00
feat: use contentExpire
This commit is contained in:
@@ -56,7 +56,7 @@ module.exports = async (ctx) => {
|
||||
description: description,
|
||||
pubDate: date_util(date, 8),
|
||||
};
|
||||
ctx.cache.set(itemUrl, JSON.stringify(single), 24 * 60 * 60);
|
||||
ctx.cache.set(itemUrl, JSON.stringify(single));
|
||||
return Promise.resolve(single);
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user