Permalink
Browse files

set process title on the server so it can be passed to the worker cor…

…rectly
  • Loading branch information...
Garrett Johnson
Garrett Johnson committed Jun 28, 2012
1 parent fb9a354 commit 23f7e3d79661b141009b06d508604f11d31613c2
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/up.js
View
@@ -84,7 +84,8 @@ function UpServer (server, file, opts) {
this.lastIndex = -1;
if (opts.title) {
- process.title = opts.title + ' master';
+ this.title = opts.title;
+ process.title = this.title + ' master';
}
// setup workers

0 comments on commit 23f7e3d

Please sign in to comment.