mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 20:27:52 +08:00
feat: use contentExpire
This commit is contained in:
@@ -91,7 +91,7 @@ module.exports = async (ctx) => {
|
||||
description: description,
|
||||
pubDate: date(date_value, 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