From: Nobuyoshi Nakada Date: 2008-02-07T16:53:42+09:00 Subject: Re: Timeout::Error Hi, At Wed, 6 Feb 2008 18:05:45 +0900, Jeremy Thurgood wrote in [ruby-core:15374]: > What was the change? I currently lack the time and resources to go > digging through commit logs for it. TimeoutError was a subclass of StandardError till 1.6, but now it inherits Interrupt which is not a subclass of StandardError. > Thanks for the patch. It only fixes the symptom, however, not the > problem. I still have to explicitly handle timeouts in (for example) > HTTP requests instead of simply noting a general failure (in a bare > "rescue" clause), logging the exception and retrying a couple of times > before giving up and moving on to something else. For most of my use > cases, this is exactly how I would handle HTTP requests in long-running > services that require me to keep state. I'm just curious, do you run long-running services in irb? -- Nobu Nakada