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
{{ message }}
This repository was archived by the owner on Nov 1, 2024. It is now read-only.
Alas, it doesn't. The pool size limit is not applied to either app1 or app2. It seems I must call use( Rack::FiberPool, :size => 50 ) within each map block, which will create two different fiber pools, rather than a single one for all requests.
Is this expected? I am not understanding how Rack Builder work?
Maybe I am being thick, but I think the following should work:
app = Rack::Builder.new do
use( Rack::FiberPool, :size => 50 )
map( '/app1' ) { call app1 }
map( '/app2' ) { call app2 }
end
Alas, it doesn't. The pool size limit is not applied to either app1 or app2. It seems I must call use( Rack::FiberPool, :size => 50 ) within each map block, which will create two different fiber pools, rather than a single one for all requests.
Is this expected? I am not understanding how Rack Builder work?