Skip to content
Snippets Groups Projects
Commit d39a2a78 authored by Xiao Gui's avatar Xiao Gui
Browse files

debug redis

parent 5dcc8c8c
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ const redisURL = redisAddr && `${redisProto}://${redisAddr}:${redisPort}`
const limiter = new RateLimit({
windowMs: 1e3 * 5,
max: 5,
...( redisURL ? { store: new RedisStore({ redisURL }) } : {} )
// ...( redisURL ? { store: new RedisStore({ redisURL }) } : {} )
})
const passthrough = (_, __, next) => next()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment