search for: search_method

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

2007 Sep 11
3
Production mode bug with ruby/amazon
...e thrown around the whole thing to hopefully catch the error. Without it, the call just times out and I lose the thread completely and have to restart the mongrel cluster. Here''s what that looks like: retries = 3 #Errno::ECONNRESET begin Timeout::timeout(2) { products = search_method.call(key, mode).products } rescue # Errno::ECONNRESET, Errno::EPIPE => failure if retries > 0 @@req = Amazon::Search::Request.new(@@dev_token) retries -= 1 logger.error "Connection to amazon remade: #{$!}" retry else...
2008 Jan 08
28
1.9.3 release, rakefile
Hi I''d like to put out a 1.9.3 release perhaps later this week/weekend. If you have a chance to test the build and samples esp with latest rubygems, please do. There are still some bugs on the list, and samples to do, but this should address all the build/install probs that have come up. And it would be good to get some testing and feedback on some of the new classes. A note on the