Skip to content

Commit

Permalink
Added Puma as a server handler
Browse files Browse the repository at this point in the history
[Puma](http://puma.io) is, as defined on the official repo: "a simple, fast, and highly concurrent HTTP 1.1 server for Ruby web applications".

It's screamingly fast and consumes way less memory than other alternatives.

I thought it would be nice to include it in the list of handlers so that if it appears on the gems for your project Padrino would pick it up straight away.
  • Loading branch information
Darío Javier Cravero committed Aug 12, 2012
1 parent 56512b5 commit 52545ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion padrino-core/lib/padrino-core/server.rb
Expand Up @@ -17,7 +17,7 @@ def self.run!(options={})
#
class Server < Rack::Server
# Server Handlers
Handlers = [:thin, :mongrel, :trinidad, :webrick]
Handlers = [:thin, :puma, :mongrel, :trinidad, :webrick]

# Starts the application on the available server with specified options.
def self.start(app, opts={})
Expand Down

0 comments on commit 52545ab

Please sign in to comment.