feat: Re-compute the given items cost job.

feat: Optimize the architecture.
This commit is contained in:
Ahmed Bouhuolia
2020-08-18 02:28:08 +02:00
parent 4e68a7db71
commit d423365a19
44 changed files with 1605 additions and 798 deletions

View File

@@ -28,5 +28,27 @@ module.exports = {
secure: false,
username: '842f331d3dc005',
password: '172f97b34f1a17',
}
},
mongoDb: {
/**
* That long string from mlab
*/
databaseURL: 'mongodb://localhost/bigcapital',
},
/**
* Agenda.js stuff
*/
agenda: {
dbCollection: process.env.AGENDA_DB_COLLECTION,
pooltime: process.env.AGENDA_POOL_TIME,
concurrency: parseInt(process.env.AGENDA_CONCURRENCY, 10),
},
/**
* Agendash config
*/
agendash: {
user: 'agendash',
password: '123456'
},
};