Created by: marshall007
Supersedes #586
Sorry I had to create a new PR, pushing additional commits onto my branch wasn't updating the existing PR. I think I ran into https://github.com/isaacs/github/issues/591.
Fixes #526 (closed)
This PR ensures that the client and eclient redis connections are not instantiated until they are absolutely needed. This in turn reduces the number of bound event listeners by default.
Additionally, I have added a skipVersionCheck
option which, when true
, avoids creating a redis connection and sanity checking the MINIMUM_REDIS_VERSION
in the constructor.