Permalink
Browse files

Add changelog for last merged changes and style fix.

  • Loading branch information...
macournoyer committed May 4, 2009
1 parent 98082a1 commit bb3c6dd7a75b590f4c26220d7d8550dd96b3fda7
Showing with 5 additions and 2 deletions.
  1. +4 −0 CHANGELOG
  2. +1 −2 lib/thin/server.rb
View
@@ -1,3 +1,7 @@
+== ? release
+ * Add process name 'tag' functionality. Easier to distinguish thin daemons
+ from eachother in process listing [ctcherry]
+
== 1.2.1 Asynctilicious Ultra Supreme release
* Require Rack 1.0.0
* Require EventMachine 0.12.6
View
@@ -194,8 +194,7 @@ def config
# Name of the server and type of backend used.
# This is also the name of the process in which Thin is running as a daemon.
def name
- buffer = "thin server (#{@backend})"
- buffer << " [#{tag}]" unless tag.nil? || tag.empty?
+ "thin server (#{@backend})" + (tag ? " [#{tag}]" : "")
end
alias :to_s :name

0 comments on commit bb3c6dd

Please sign in to comment.