feat: wrapper to a single entrypoint to the stress test

This commit is contained in:
Sérgio Salgado 2021-01-14 17:17:22 +00:00 committed by Josh Harvey
parent 7794b91d20
commit 722a3d2853
4 changed files with 34 additions and 10 deletions

View file

@ -0,0 +1,7 @@
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`)
})