ysbaddaden / prax

Rack proxy server for development
http://ysbaddaden.github.io/prax/
Other
475 stars 49 forks source link

allow setting of number of worker threads #70

Closed suan closed 10 years ago

suan commented 10 years ago

This allows setting the # of per-app worker threads through the PRAX_APP_THREADS envvar, and lets non-threadsafe code run correctly by setting that value to 1.

All the tests pass. (Proxy#test_0006_supports bundler with special gems fails for me but it also fails on the base unstable branch)

ysbaddaden commented 10 years ago

Thanks!

You may have to run bundle install in test/hosts/bundler for the sinatra 1.0 gem to be installed in order for the bundler test to pass.