cloudant/rexi — pull request #3 by kocolosk (2012-02-17 14:10:08+00:00)
Title: Don't block rexi_server to send an exit message

When a worker dies rexi_server needs to notify the remote client. If communication to the remote node is impaired rexi_server may block for several seconds trying to send the rexi_EXIT message.

Fix is to use the same 'noconnect' and 'nosuspend' options in rexi_server that we use to submit jobs from a client. Most of the commit is just a refactor to export the `do_send` function as `rexi_utils:send/2`

BugzID: 13298