Skip to content

Commit

Permalink
Add changelog for last merged changes and style fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
macournoyer committed May 4, 2009
1 parent 98082a1 commit bb3c6dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions lib/thin/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bb3c6dd

Please sign in to comment.