Skip to content

Added redis readycheck, fallback to db query if unavailable#23

Open
si-harps wants to merge 2 commits intorfink:masterfrom
si-harps:feature/db_ready_check
Open

Added redis readycheck, fallback to db query if unavailable#23
si-harps wants to merge 2 commits intorfink:masterfrom
si-harps:feature/db_ready_check

Conversation

@si-harps
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant