DRb and catching connection close

Hello,

I post here as i have a problem that i can’t fix with DRb, i made two
(or more) servers connected together via DRb, and i want to catch the
“connection close” event if a script bug or just exit.

Drb raise an exception internally, but in a thread, so i can’t catch it.
And when the program try to contact a dead other one, it freezes,
because it isn’t aware of the deconnection.

Do u have an idea for catching this event without modify DRb class ?

Thanks in advance.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs