[NOT FINISHED] delete fees in chunks

This commit is contained in:
Bilal Catic
2019-10-04 18:52:41 +02:00
parent 5a07b74ae2
commit bc56ed3f03
3 changed files with 35 additions and 6 deletions

View File

@@ -41,6 +41,9 @@ CUSTOM_FEES_PREFIXES=Array of prefixes to recognize manually added fees. Comma-s
ALLOW_SENDING_FEES_FOR_CURRENT_AND_FUTURE_MONTHS=0 - false => Sending fees is disabled for current and future months, 1 - true => Sending fees is never disabled
MAX_FEES_TO_DELETE=Max number of fees to delete (from ORD) in one API call
FEES_DELETE_DELAY=Number of miliseconds to wait between two API calls to delete fees (from ORD)
#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)