Displaying 1 result from an estimated 1 matches for "job_boss".
2011 Feb 16
1
Forking for background processing with rails/unicorn
...ication that I support, we sometimes fork during a
web request in order to do background processing behind the scenes
without the user (and the browser connection) to wait for it to
finish. I realize that a better method would be to have a queue of
jobs to be processed (I even created a gem called job_boss which works
well for our case), but it will take us a while to get there, so I''m
trying to fix this for now.
The problem that I''m finding is that, when I fork, the HTTP connection
doesn''t close. IE doesn''t handle this as well and the browser is left
sitting, wa...