MCPcopy Index your code
hub / github.com/scality/cloudserver / stop

Method stop

managementAgent.js:54–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 }
53
54 stop() {
55 if (!this.wss) {
56 process.exit(0);
57 return;
58 }
59 this.wss.close(() => {
60 logger.info('server shutdown');
61 process.exit(0);
62 });
63 }
64
65 startServer() {
66 this.wss = new WebSocket.Server({

Callers

nothing calls this directly

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected