API Change to Timeout?

C

Chris Eppstein

This commit:

http://github.com/FooBarWidget/rubyenterpriseedition/commit/00a8c1b356b482b2b34931344e747062a8d07795

Breaks the documented API of the timeout function by changing the
default exception class raised from Timeout::Error to
Timeout::ExitException.

I spent a fair bit of time diagnosing this issue today as it was
causing misbehavior in memcache-client. As a work-around, I am using a
modified version of memcache-client that specifies Timeout::Error as
the timeout
exception class explicitly, but it would be great to fix this as I'm
sure lots of libraries expect Timeout::Error.

Thanks,
Chris Eppstein

P.S. I originally reported this issue to the Phusion guys, but they
directed me here.
 
C

Chris Eppstein

Nevermind, I'm tired and didn't fully understand that change when I
first read it. I see that the Error class is re-raised later and so
the API didn't change. Sorry to jump to conclusions...

chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,150
Latest member
MakersCBDReviews
Top