mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-04 19:59:54 +08:00
feat: use contentExpire
This commit is contained in:
@@ -10,7 +10,7 @@ module.exports = {
|
||||
url: `https://patchwork.kernel.org/api/patches/${id}/`,
|
||||
});
|
||||
name = patchDetail.data.name;
|
||||
ctx.cache.set(key, name, 24 * 60 * 60);
|
||||
ctx.cache.set(key, name);
|
||||
}
|
||||
return name;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user