revert bypassing mongo

This commit is contained in:
TheBeastLT
2024-01-21 23:46:15 +02:00
parent f22df6c5cb
commit a51ddc53c5
2 changed files with 3 additions and 3 deletions

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: 100, evict: 120000} });
const database = new Sequelize(DATABASE_URI, { logging: false, pool: { max: 50, evict: 120000 } });
const Torrent = database.define('torrent',
{