feat: multiprocessing and some diagnostics

This commit is contained in:
Sérgio Salgado 2021-01-13 17:05:51 +00:00 committed by Josh Harvey
parent 86e437a23a
commit c75319d166
4 changed files with 40 additions and 9 deletions

View file

@ -1,5 +1,7 @@
const NUMBER_OF_MACHINES = 4
const SERVER_CERT_PATH = `../../certs/Lamassu_OP_Root_CA.pem`
const MACHINE_PATH = `../../../lamassu-machine`
module.exports = { NUMBER_OF_MACHINES, SERVER_CERT_PATH, MACHINE_PATH }
// Request timers
const POLLING_INTERVAL = 5000
module.exports = { SERVER_CERT_PATH, MACHINE_PATH, POLLING_INTERVAL }