Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
Merge e417881 into 161c00a
Browse files Browse the repository at this point in the history
  • Loading branch information
Eran Barak Levi committed May 6, 2013
2 parents 161c00a + e417881 commit c43f212
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@ by Celluloid. In addition, the Rack specification mandates that request bodies
are rewindable, which prevents streaming request bodies as the spec dictates
they must be written to disk.

To run `.ru` file using Reel w/ 16 workers

```
rackup -p 1234 -s reel config.ru -Enone -O "workers=16"
```

To really leverage Reel's capabilities, you must use Reel via its own API,
or another Ruby library with direct Reel support.

Expand Down
2 changes: 1 addition & 1 deletion examples/websocket_rack.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rackup -s reel websocket.ru -Enone
rackup -s reel websocket.ru -Enone -O "workers=16"
1 change: 1 addition & 0 deletions lib/rack/handler/reel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def normalize_options(options)
options = options.inject({}) { |h, (k,v)| h[k.downcase] = v ; h }
options[:rackup] = options[:config] if options[:config]
options[:port] = options[:port].to_i if options[:port]
options[:workers] = options[:workers].to_i if options[:workers]
options
end
end
Expand Down

0 comments on commit c43f212

Please sign in to comment.