[OpenSIPS-Devel] [OpenSIPS/opensips] 3fdc99: event_rabbitmq: don't block indefinitely on connect
Vlad Pătrașcu
noreply at github.com
Tue Oct 1 10:35:27 EDT 2019
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: 3fdc9976e0f6f921eb5c8cbaa9e43ef297079827
https://github.com/OpenSIPS/opensips/commit/3fdc9976e0f6f921eb5c8cbaa9e43ef297079827
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: e4ee1784cb63efb3c280c48aa9275f7e6a3fe896
https://github.com/OpenSIPS/opensips/commit/e4ee1784cb63efb3c280c48aa9275f7e6a3fe896
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/b86d5be41785...e4ee1784cb63
More information about the Devel
mailing list