express-redis-cache
express-redis-cache copied to clipboard
Replace "domain" with "domain-haven"
The domain node API has been deprecated. We will respect that.
This article explains why this project used domain.
... allows your Express server to create a domain for each request and trap any errors that occur for that request/response pair, and ensure that the response gets sent, at the very least. This prevents both memory leaks, and your server crashing unnecessarily.
@rv-kip can you tell me if the above information is accurate?
domain was completely stripped out in the dev branch and not replaced with anything. Despite this, the tests are still passing.
Domains were added by the original author. They were the "thing" at the time. They have been deprecated. The tests may not exercise error paths sufficiently.