feat: add database selector env variable

This commit is contained in:
Sérgio Salgado 2021-09-01 17:23:44 +01:00 committed by Josh Harvey
parent 8db565c609
commit 005503a995
3 changed files with 11 additions and 8 deletions

View file

@ -3,5 +3,5 @@ const cmd = require('./scripts')
process.on('message', async (msg) => {
console.log('Message from parent:', msg)
await cmd.execCommand(`node --prof ../../bin/lamassu-server --mockSms --testDB`)
await cmd.execCommand(`node --prof LAMASSU_DB=STRESS_TEST ../../bin/lamassu-server --mockSms`)
})