mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-12 16:20:27 +08:00
refactor: avoid promise overhead (#8028)
This commit is contained in:
@@ -145,7 +145,7 @@ module.exports = function (app) {
|
||||
const key = 'koa-redis-cache:' + md5(ctx.request.path);
|
||||
|
||||
if (!available) {
|
||||
return await next();
|
||||
return next();
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user