zeromq/rbzmq — pull request #22 by raphinou (2012-08-22 08:12:41+00:00)
Title: handle EINTR

This patch avoids the problem of the exception "ZMQ::Error: Interrupted system call". It tries up to 5 times to send the message, and gives up if all attempts are interrupted. This can probably be left out, but I didn't want to take any risk in my production environment, where this code has been running fine for some weeks now. (And 5 attempts were not needed to send the messages)