Skip to content

Commit

Permalink
squash-me
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Mar 24, 2020
1 parent 5f4d673 commit 707852b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/server/main.js
Expand Up @@ -8,13 +8,13 @@ exports.r2gSmokeTest = function () {
const app_1 = require("./app");
const tcp_server_1 = require("./tcp-server");
const tcps = tcp_server_1.tcpServer.listen(c.tcpServerPort, c.tcpServerHost, () => {
bunion_1.default.info('tcp server listening on port:', c.tcpServerPort);
bunion_1.default.info('tcp server listening on port:', c.tcpServerHost, c.tcpServerPort);
});
tcps.on('error', e => {
bunion_1.default.warn('eb801985-e0bd-41e3-880b-fa9a8a75b4db: tcp server error:', e);
});
const s = app_1.app.listen(c.httpServerPort, '0.0.0.0', () => {
bunion_1.default.info('server listening on port:', c.httpServerPort);
bunion_1.default.info('server listening on port:', c.httpServerHost, c.httpServerPort);
});
process.once('SIGTERM', () => {
setTimeout(() => {
Expand Down
4 changes: 2 additions & 2 deletions src/server/main.ts
Expand Up @@ -13,7 +13,7 @@ import {tcpServer} from "./tcp-server";


const tcps = tcpServer.listen(c.tcpServerPort, c.tcpServerHost, () => {
log.info('tcp server listening on port:', c.tcpServerPort);
log.info('tcp server listening on port:', c.tcpServerHost, c.tcpServerPort);
});

tcps.on('error', e => {
Expand All @@ -22,7 +22,7 @@ tcps.on('error', e => {


const s = app.listen(c.httpServerPort, '0.0.0.0',() => {
log.info('server listening on port:', c.httpServerPort);
log.info('server listening on port:', c.httpServerHost, c.httpServerPort);
});

process.once('SIGTERM', () => {
Expand Down

0 comments on commit 707852b

Please sign in to comment.