Out of band stuff?

Damian Janowski jano at dimaion.com
Wed Apr 11 01:20:12 UTC 2012

On Tue, Apr 10, 2012 at 5:37 PM, Eric Wong <normalperson at yhbt.net> wrote:
> Huh? How are you using Rack::Builder?  unicorn/Rainbows! should always be
> using Rack::Builder#to_app instead of regenerating the Rack stack every
> single request.

Clearly—the wrong way :)

I'm composing apps and I was doing something like:

run Rack::Builder.new { ... }

instead of:

run Rack::Builder.new { ... }.to_app

By using the latter I get consistent object_ids across requests.

Thank you and sorry for the false alarm.

More information about the rainbows-talk mailing list