[OpenSIPS-Devel] [OpenSIPS/opensips] fec5b5: event_rabbitmq: don't block indefinitely on connect

Vlad Pătrașcu noreply at github.com
Tue Oct 1 09:26:44 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fec5b51a0b4980b519904308b6297cd17d3b0ba6
      https://github.com/OpenSIPS/opensips/commit/fec5b51a0b4980b519904308b6297cd17d3b0ba6
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-10-01 (Tue, 01 Oct 2019)

  Changed paths:
    M modules/event_rabbitmq/doc/event_rabbitmq_admin.xml
    M modules/event_rabbitmq/event_rabbitmq.c
    M modules/event_rabbitmq/event_rabbitmq.h
    M modules/event_rabbitmq/rabbitmq_send.c
    M modules/event_rabbitmq/rabbitmq_send.h

  Log Message:
  -----------
  event_rabbitmq: don't block indefinitely on connect

The connection timeout is configurable via a new module parameter.

Related to #1836


  Commit: 4dde71c13aaf5860472273c81bed7fec44e48723
      https://github.com/OpenSIPS/opensips/commit/4dde71c13aaf5860472273c81bed7fec44e48723
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-10-01 (Tue, 01 Oct 2019)

  Changed paths:
    M modules/event_virtual/doc/event_virtual_admin.xml
    M modules/event_virtual/event_virtual.c
    M modules/event_virtual/event_virtual.h

  Log Message:
  -----------
  event_virtual: improve the behaviour of the FAILOVER policy

A previously failed subscriber is now skipped for further notifications
for a configurable interval (via the new "failover_timeout" modparam).
This is useful when the actual event backend blocks for a considerable
amount of time when rasing the event. This commit greatly decreases the
overall amount of time OpeSIPS processes remain stuck when a subscriber
is unresponsive.

Related to #1836


Compare: https://github.com/OpenSIPS/opensips/compare/d2e6874f3e8c...4dde71c13aaf



More information about the Devel mailing list