remove psql pool evict

This commit is contained in:
TheBeastLT
2024-01-22 00:13:27 +02:00
parent a51ddc53c5
commit 0fdc968a86

View File

@@ -3,7 +3,7 @@ const Op = Sequelize.Op;
const DATABASE_URI = process.env.DATABASE_URI;
const database = new Sequelize(DATABASE_URI, { logging: false, pool: { max: 50, evict: 120000 } });
const database = new Sequelize(DATABASE_URI, { logging: false, pool: { max: 50 } });
const Torrent = database.define('torrent',
{