Hello, I am reviewing some code at new job involving usage of new require('ioredis').Cluster() - and am noticing that previous author has created several instances of this in the same application runtime.. but per my knowledge there should only ever be a need for a single instance... correct?
Hello, I am reviewing some code at new job involving usage of
new require('ioredis').Cluster()
- and am noticing that previous author has created several instances of this in the same application runtime.. but per my knowledge there should only ever be a need for a single instance... correct?