Commit 8bea3a9dc468fb6f87b47c601adf894c21bd1381
1 parent
e528eadf15
Exists in
master
process exit
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
index.js
... | ... | @@ -72,6 +72,7 @@ function heartbeat() { |
72 | 72 | // sends out pings plus a conservative assumption of the latency. |
73 | 73 | pingTimeout = setTimeout(() => { |
74 | 74 | client.terminate(); |
75 | + process.exit(1); | |
75 | 76 | }, 10000 + 1000); |
76 | 77 | } |
77 | 78 | console.log('Sevice connected to wsServer: ' + config.urlHO); |