From 2b271196a0ab97fbd5a085f561b0ed1d456400b1 Mon Sep 17 00:00:00 2001 From: Bilal Catic Date: Thu, 25 Jul 2019 06:27:22 +0200 Subject: [PATCH] add pool option to the config --- environment.env | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/environment.env b/environment.env index b77df6a..74ad45d 100644 --- a/environment.env +++ b/environment.env @@ -24,3 +24,8 @@ BOOKING_CHANGE_PERCENTAGE_CHARGE=Percentage of hourly reate to apply for cancell ALLOWED_BOOKING_CANCELLATION_TIME=Time from creation (in minutes) in which cancellation is not charged SEQUELIZE_LOGGING=0 - false, 1 - true (console logging) + +#More about pool option : http://docs.sequelizejs.com/class/lib/sequelize.js~Sequelize.html +DB_POOL_MAX_CONNECTIONS=Maximum number of connection in pool (ex. 18) +DB_POOL_ACQUIRE=The maximum time, in milliseconds, that pool will try to get connection before throwing error (ex. 120000) +DB_POOL_EVICT=The time interval, in milliseconds, after which sequelize-pool will remove idle connections. (ex. 10000)