Hope you'll have some time to check this small test-case: https://github.com/DeTeam/cls-cluster
We got a problem trying to run cluster mode in an express app together with cls. Setting up this config within a request (in a middleware) is fine, however when we want to use something "global" it fails. Guess it has something to do with how cluster works underneath. Please check it out, mb you'll have some comments ;)
Hey @othiym23,
Hope you'll have some time to check this small test-case: https://github.com/DeTeam/cls-cluster We got a problem trying to run cluster mode in an express app together with cls. Setting up this
config
within a request (in a middleware) is fine, however when we want to use something "global" it fails. Guess it has something to do with howcluster
works underneath. Please check it out, mb you'll have some comments ;)Node versions I tried this with: 0.12, 4.1