Skip to content

Commit

Permalink
Make ioredis quit gracefully.
Browse files Browse the repository at this point in the history
  • Loading branch information
rizen committed Oct 25, 2024
1 parent 97c10bb commit e6e7a05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions ving/docs/change-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 1 addition & 2 deletions ving/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export default {
//useKind,
close: async () => {
await useDB().session.client.pool.end();
await useCache().disconnect();
await useRedis().disconnect();
await useRedis().quit();
}
}

0 comments on commit e6e7a05

Please sign in to comment.