Do not record request-paths for now
This commit is contained in:
@ -11,7 +11,7 @@ export const logStats = (redisURL) => {
|
|||||||
const path = req.path
|
const path = req.path
|
||||||
|
|
||||||
if (res.statusCode === 200 && path.charAt(path.length - 1) !== '/') {
|
if (res.statusCode === 200 && path.charAt(path.length - 1) !== '/') {
|
||||||
redisClient.zincrby([ 'request-paths', 1, path ])
|
//redisClient.zincrby([ 'request-paths', 1, path ])
|
||||||
|
|
||||||
const match = URLFormat.exec(path)
|
const match = URLFormat.exec(path)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user