-
While trying to debug #51, I tried turning on the DEBUG_CLS_HOOKED environment variable, and it pretty quickly crashed. Looks like this line:
https://github.com/Jeff-Lewis/cls-hooked/blob/master/c…
-
I think runPromise should exit context before return promise !
Otherwise, the context can be modify by operations outside this context.
```Javascript
Namespace.prototype.runPromise = function run…
-
The [async_hooks node API](https://nodejs.org/dist/latest-v8.x/docs/api/async_hooks.html) provides an API to get your current asynchronous execution context.
It is leveraged by [cls-hooked](https:…
-
I used the following code to test and found a memory leak.
`const cls = require('cls-hooked')
while(1){
const ns = cls.createNamespace('test')
ns.run(() => {});
cls.destroyNamespace…
-
When using `cls-hooked` to store a request context, it does not work if the body parser is used.
I made a small example project to reproduce the issue: [mwe.zip](https://github.com/thiagobustamante/t…
-
I'm trying to integrate the `cls_hooked` with SocketIO, using the Feathersjs framework:
```javascript
const socketio = require('@feathersjs/socketio')
const tracer = require('../tracer')
const s…
-
Hello! I'm using the [cls-hooked](https://www.npmjs.com/package/cls-hooked) library, which let's me use continuous local storage in my express app. After I use the `multer.file` middleware, my context…
-
I've forked [exress-http-context](https://github.com/skonves/express-http-context) and replaced cls with this fork to support async/await. Feel free to try it.
https://www.npmjs.com/package/express-c…
-
We need to include (and provide an interface to) an async local storage implementation, in order to support distributed tracing and any related functionality.
In newest versions of Node it would be…
-
even tho the peer dep semver range allows the usage of `typeorm@^0.3.0`, maybe few deprecations & drops on the latest version of typeorm could break `typeorm-transactional-cls-hooked@0.1.21`
https:…