search for: amazon_search

Displaying 1 result from an estimated 1 matches for "amazon_search".

2007 Sep 11
3
Production mode bug with ruby/amazon
...ruby/1.8/net/http.rb:1044:in `request'' /usr/lib/ruby/1.8/net/http.rb:771:in `get'' /lib/amazon/search.rb:973:in `get_page'' /lib/amazon/search.rb:1013:in `search'' /lib/amazon/search.rb:734:in `keyword_search'' /app/models/asset.rb:98:in `amazon_search'' The timeout error comes from a timeout statement I''ve 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...