mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Disconnect one client while quitting the other
This commit is contained in:
parent
fa685d4a29
commit
bb55137bb4
1 changed files with 1 additions and 1 deletions
|
|
@ -36,8 +36,8 @@ export class RedisDataSource {
|
|||
async shutdown(): Promise<void> {
|
||||
this.isInitialized = false
|
||||
try {
|
||||
await this.redisClient?.disconnect()
|
||||
await this.workerRedisClient?.disconnect()
|
||||
await this.redisClient?.quit()
|
||||
} catch (err) {
|
||||
console.error('error while shutting down redis')
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue