This commit is contained in:
Siwoo Jeon 2023-10-29 17:58:31 +09:00
parent 555c9284e2
commit 44b25cf0a8
Signed by: migan
GPG key ID: C4151385FFD2082A

View file

@ -17,6 +17,10 @@ export interface ResponseData extends BaseData {
export { BaseData as NSFWData } export { BaseData as NSFWData }
const database = createPool(config.mysql) const database = createPool({
...config.mysql,
keepAliveInitialDelay: 10000,
enableKeepAlive: true,
})
export default database export default database