sequelize-redis-cache icon indicating copy to clipboard operation
sequelize-redis-cache copied to clipboard

Added redis readycheck, fallback to db query if unavailable

Open si-harps opened this issue 9 years ago • 0 comments

Added a Redis client ready check to ensure that the client is available when cache object requested. If unavailable, will hit the database and run query as normal. Resolves promise with db object prior to setting cache if 'nocache' argument passed to fetchFromDatabase method.

si-harps avatar Jul 30 '16 14:07 si-harps