feat: backport database selector flag

This commit is contained in:
Sérgio Salgado 2021-10-18 17:18:35 +01:00
parent c819a354bc
commit 81fa63f630
3 changed files with 12 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`)
})