Closed ghost closed 7 years ago
I am observing rapidly increasing response times around a no-op route when using CLS. See http://stackoverflow.com/questions/42345624/addition-of-continuation-local-storage-causing-cpu-leak and https://github.com/myles-mcdonnell/cls-express-cpu-leak.
Must be something I'm doing wrong in my usage of CLS but can't figure out what.
ok, got it..only one namespace require, not one per request...now using cls-middleware.
I am observing rapidly increasing response times around a no-op route when using CLS. See http://stackoverflow.com/questions/42345624/addition-of-continuation-local-storage-causing-cpu-leak and https://github.com/myles-mcdonnell/cls-express-cpu-leak.
Must be something I'm doing wrong in my usage of CLS but can't figure out what.