You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How does one set the fiber pool 250? From the blog on envylabs.com, you had indicated the
db pool gets replaced by the fiber pool when using the Rack middleware, Rack::FiberPool.
to get things operational because I was getting the following error message when I ran
'thin -D start':
/Users/conradwt/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:762:in report_activate_error': Could not find RubyGem eventmachine (>= 0.12.6) (Gem::LoadError) from /Users/conradwt/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:219:inactivate'
from /Users/conradwt/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:254:in block in activate' from /Users/conradwt/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:253:ineach'
from /Users/conradwt/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:253:in activate' from /Users/conradwt/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:1065:ingem'
from /Users/conradwt/.rvm/gems/ruby-1.9.2-p0@async-rails/bin/thin:18:in `
'
The text was updated successfully, but these errors were encountered:
For #2, unfortunately you have to unpack and change the max value within the fiber_pool gem itself at the moment. This should really be provided as an option within the middleware.
#3 seems bizzarre to me.. the git repo definitely has versions > 0.12.6.. Hmm?
I'm trying to configure async-rails demo as you indicated on "Pushing the stack on my MBP". Thus, I have the following questions:
require 'em-activerecord'
require 'rack/fiber_pool'
Run each request in a Fiber
config.middleware.use Rack::FiberPool
How does one set the fiber pool 250? From the blog on envylabs.com, you had indicated the
db pool gets replaced by the fiber pool when using the Rack middleware, Rack::FiberPool.
I had to change
gem 'eventmachine' , :git => 'git://github.com/eventmachine/eventmachine.git'
to
gem 'eventmachine'
to get things operational because I was getting the following error message when I ran
'thin -D start':
/Users/conradwt/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:762:in
'report_activate_error': Could not find RubyGem eventmachine (>= 0.12.6) (Gem::LoadError) from /Users/conradwt/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:219:in
activate'from /Users/conradwt/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:254:in
block in activate' from /Users/conradwt/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:253:in
each'from /Users/conradwt/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:253:in
activate' from /Users/conradwt/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:1065:in
gem'from /Users/conradwt/.rvm/gems/ruby-1.9.2-p0@async-rails/bin/thin:18:in `
The text was updated successfully, but these errors were encountered: