Allow the metro to exit if this is the only active server in the event loop system
This commit is contained in:
parent
3583e064be
commit
6f9580bae2
@ -115,4 +115,5 @@ http
|
|||||||
res.writeHead(200, { 'Content-Type': register.contentType });
|
res.writeHead(200, { 'Content-Type': register.contentType });
|
||||||
res.end(register.metrics());
|
res.end(register.metrics());
|
||||||
})
|
})
|
||||||
.listen(port);
|
.listen(port)
|
||||||
|
.unref();
|
||||||
|
Loading…
Reference in New Issue
Block a user