mirror of
https://github.com/itsnaveenk/bazar3.git
synced 2025-12-19 22:57:06 +00:00
Add SSL configuration to database connection pool
This commit is contained in:
parent
7eaad35127
commit
d4286c0594
@ -16,7 +16,8 @@ const pool = mysql.createPool({
|
|||||||
waitForConnections: true,
|
waitForConnections: true,
|
||||||
connectionLimit: 20,
|
connectionLimit: 20,
|
||||||
queueLimit: 0,
|
queueLimit: 0,
|
||||||
timezone: '+05:30' // Updated to Indian Standard Time (IST)
|
timezone: '+05:30', // Updated to Indian Standard Time (IST)
|
||||||
|
ssl: { rejectUnauthorized: false }
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user