mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Cleanup after rebase
This commit is contained in:
parent
f184c8baff
commit
ba3e5b053d
2 changed files with 3 additions and 6 deletions
|
|
@ -190,14 +190,12 @@ const main = async (): Promise<void> => {
|
|||
listener.timeout = 640 * 1000 // match headersTimeout
|
||||
|
||||
process.on('SIGINT', async () => {
|
||||
if (redisClient) {
|
||||
await redisClient.quit()
|
||||
console.log('Redis client closed.')
|
||||
}
|
||||
|
||||
await appDataSource.destroy()
|
||||
console.log('DB connection closed.')
|
||||
|
||||
await redisDataSource.shutdown()
|
||||
console.log('Redis connection closed.')
|
||||
|
||||
process.exit(0)
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ import { Label } from '../entity/label'
|
|||
import { LibraryItem, LibraryItemState } from '../entity/library_item'
|
||||
import { BulkActionType, InputMaybe, SortParams } from '../generated/graphql'
|
||||
import { createPubSubClient, EntityType } from '../pubsub'
|
||||
import { redisClient } from '../redis'
|
||||
import {
|
||||
authTrx,
|
||||
getColumns,
|
||||
|
|
|
|||
Loading…
Reference in a new issue