DRb and catching connection close

G

Guillaume Kwi

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.
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top