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

Vlad Pătrașcu noreply at github.com
Tue Oct 1 10:34:11 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: de4f7a8470eab23c584dae1f6f771423b5c289b0
      https://github.com/OpenSIPS/opensips/commit/de4f7a8470eab23c584dae1f6f771423b5c289b0
  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

(cherry picked from commit fec5b51a0b4980b519904308b6297cd17d3b0ba6)


  Commit: 8096c731c51d0346516f0e0273e5ed4d3c83460c
      https://github.com/OpenSIPS/opensips/commit/8096c731c51d0346516f0e0273e5ed4d3c83460c
  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

(cherry picked from commit 4dde71c13aaf5860472273c81bed7fec44e48723)


Compare: https://github.com/OpenSIPS/opensips/compare/468394f5e30b...8096c731c51d



More information about the Devel mailing list