.
This commit is contained in:
parent
555c9284e2
commit
44b25cf0a8
1 changed files with 5 additions and 1 deletions
|
@ -17,6 +17,10 @@ export interface ResponseData extends BaseData {
|
|||
|
||||
export { BaseData as NSFWData }
|
||||
|
||||
const database = createPool(config.mysql)
|
||||
const database = createPool({
|
||||
...config.mysql,
|
||||
keepAliveInitialDelay: 10000,
|
||||
enableKeepAlive: true,
|
||||
})
|
||||
|
||||
export default database
|
||||
|
|
Loading…
Reference in a new issue