Commit d297d908d243be97ace506c2cd8a440093e51e7f

Authored by Adhidarma Hadiwinoto
1 parent 06a28c6d8a
Exists in master

CENTER

Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff

center/messaging/trx-center.js
... ... @@ -16,7 +16,9 @@ const heartbeat = require('../../heartbeat');
16 16  
17 17 let transport;
18 18  
19   -process.title = "KOMODO-CENTER-" + config.origin.replace(/\W/g, '-').toUpperCase();
  19 +if (config.origin) {
  20 + process.title = "KOMODO@" + config.origin.replace(/\W/g, '-').toUpperCase();
  21 +}
20 22  
21 23 heartbeat.setModuleType('center')
22 24