diff --git a/ving/docs/change-log.md b/ving/docs/change-log.md index 7cb45280..3558ae3e 100644 --- a/ving/docs/change-log.md +++ b/ving/docs/change-log.md @@ -11,6 +11,7 @@ outline: deep * Fix a hydration mismatch in markdown inputs. * Added error handling to verifyExtension() in S3File. * Added validation for acceptedFileExtensions in ving schemas being in the wrong place. + * Make ioredis quit gracefully. ### 2024-10-24 * Installed dotenv for environment variables. diff --git a/ving/index.mjs b/ving/index.mjs index d3909c69..8cbab525 100644 --- a/ving/index.mjs +++ b/ving/index.mjs @@ -40,7 +40,6 @@ export default { //useKind, close: async () => { await useDB().session.client.pool.end(); - await useCache().disconnect(); - await useRedis().disconnect(); + await useRedis().quit(); } } \ No newline at end of file