~stolowski/+junk/symbols-test

Viewing all changes in revision 497.

  • Committer: Tarmac
  • Author(s): Michi Henning
  • Date: 2014-09-25 12:56:03 UTC
  • mfrom: (490.1.7 reconnect-fix)
  • Revision ID: tarmac-20140925125603-v5wj5ub44fhv6ljc
Interim fix for bug #1364464 to reduce Zmq reconnection attempts once the target endpoint for a oneway socket is removed. This limits the reconnection attempts but doesn't completely eliminate them. (I'm working on a better fix that will stop the reconnections completely, but that's non-trivial.) For now, this will do.

Added non-blocking option to ZmqSender::send(). Changed oneway_invoke_() to check whether a send succeeded and trash the corresponding socket if not. Changed reconnect interval for sockets to exponential back-off with 1 sec maximum. Fixes: https://bugs.launchpad.net/bugs/1364464.

Approved by Pawel Stolowski, PS Jenkins bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: