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.
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.