search for: t_response

Displaying 2 results from an estimated 2 matches for "t_response".

Did you mean: nt_response
2007 Jul 20
1
Backgroundrb and timeout connections
Hi We have a RoR application which needs to get the contents of RSS feeds. The application opens HTTP connections, but the problem is that we have frequently Timeout::Error because of feeds are not available. It seems it''not possible to reduce the time of timeout in Ruby... So, I''m wondering if there is way to solve this with Backgroundrb. Best regards, Julien
2008 Jan 03
0
daemon use-case questions
...status" and get my status back. I can submit a patch for this if anyone else is interested. However, I noticed while writing that patch, that query_all_workers() seems to be broken in the trunk r302 (status for all workers is always nil). So my workaround for now is to use ask_status(): t_response = MiddleMan.query_all_workers t_response.each {|k,v| puts "#{k}: #{MiddleMan.ask_status(:worker => k)}" } Anyhoo, that''s it. That really rambled on longer than I thought it would. Please let me know if I can clarify any of my questions, and thanks to everyone for their...