sequelize-redis-cache
sequelize-redis-cache copied to clipboard
Added redis readycheck, fallback to db query if unavailable
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.