rc 1.0
This commit is contained in:
@@ -7,8 +7,10 @@ const pool = mysql.createPool({
|
||||
password: process.env.DB_PASSWORD || '',
|
||||
database: process.env.DB_NAME || 'cbd420',
|
||||
waitForConnections: true,
|
||||
connectionLimit: 10,
|
||||
connectionLimit: 50, // Increased from 10 to handle more concurrent requests
|
||||
queueLimit: 0,
|
||||
connectTimeout: 60000, // 60 seconds timeout for establishing connection
|
||||
idleTimeout: 600000, // 10 minutes - close idle connections after this time
|
||||
})
|
||||
|
||||
export default pool
|
||||
|
||||
Reference in New Issue
Block a user