Skip to content
This repository
Browse code

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

…rectly
  • Loading branch information...
commit 23f7e3d79661b141009b06d508604f11d31613c2 1 parent fb9a354
Garrett Johnson authored June 28, 2012

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  lib/up.js
3  lib/up.js
@@ -84,7 +84,8 @@ function UpServer (server, file, opts) {
84 84
   this.lastIndex = -1;
85 85
 
86 86
   if (opts.title) {
87  
-    process.title = opts.title + ' master';
  87
+    this.title = opts.title;
  88
+    process.title = this.title + ' master';
88 89
   }
89 90
 
90 91
   // setup workers

0 notes on commit 23f7e3d

Please sign in to comment.
Something went wrong with that request. Please try again.