docs.nestjs.com icon indicating copy to clipboard operation
docs.nestjs.com copied to clipboard

Adds further instructions for caching with Redis.

Open EricWVGG opened this issue 4 years ago • 0 comments

PR Checklist

Please check if your PR fulfills the following requirements:

  • [X] The commit message follows our guidelines: https://github.com/nestjs/docs.nestjs.com/blob/master/CONTRIBUTING.md

PR Type

What kind of change does this PR introduce?

  • [ ] Bugfix
  • [ ] Feature
  • [ ] Code style update (formatting, local variables)
  • [ ] Refactoring (no functional changes, no api changes)
  • [ ] Build related changes
  • [X] Docs
  • [ ] Other... Please describe:

What is the current behavior?

Issue Number: https://github.com/nestjs/nest/issues/8020 also see: https://discord.com/channels/520622812742811698/520649487924985885/883413132922454066

What is the new behavior?

Docs are updated to address two peccadillos of using Redis with CacheModule

  • Redis must be manually shut down; otherwise the process will hang when running CLI commands.
  • The Redis configuration bundle must be included in every module that uses CacheModule, not just app.module.

Does this PR introduce a breaking change?

  • [ ] Yes
  • [X] No

Other information

EricWVGG avatar Sep 03 '21 19:09 EricWVGG