mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-03-11 17:15:37 +00:00
add psql pool config
This commit is contained in:
parent
777241fdfa
commit
1572ae4af5
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ const Op = Sequelize.Op;
|
|||
|
||||
const DATABASE_URI = process.env.DATABASE_URI;
|
||||
|
||||
const database = new Sequelize(DATABASE_URI, { logging: false });
|
||||
const database = new Sequelize(DATABASE_URI, { logging: false, pool: { max: 100, evict: 120000} });
|
||||
|
||||
const Torrent = database.define('torrent',
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue