mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
增加sqlite连接池
This commit is contained in:
parent
be5db82b79
commit
2149bca7b8
|
@ -5,4 +5,9 @@ export const sequelize = new Sequelize({
|
|||
dialect: 'sqlite',
|
||||
storage: `${config.dbPath}database.sqlite`,
|
||||
logging: false,
|
||||
pool: {
|
||||
max: 5,
|
||||
min: 0,
|
||||
idle: 30000,
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user