nest-modules / ioredis

:see_no_evil: :hear_no_evil: :speak_no_evil: A ioredis module for Nest framework (node.js)
MIT License
142 stars 30 forks source link

feat: gracefully shutdown redis connection on nestjs shutdown #289

Open nidomiro opened 1 week ago

nidomiro commented 1 week ago

This PR introduces a graceful shutdown of the redis connections this module creates. Shutting the connections down will prevent error logs on shutdown e.g. in a kubernetes cluster with itstio.