[OpenSIPS-Devel] [OpenSIPS/opensips] a0328b: Update DB conn usage in TIMER process(es).

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Oct 6 12:39:33 CEST 2014

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a0328bcadc029256de20cd49c65d6e1440821ada
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2014-10-06 (Mon, 06 Oct 2014)

  Changed paths:
    M modules/b2b_sca/b2b_sca.c
    M modules/call_center/call_center.c
    M modules/dialog/dialog.c
    M modules/dispatcher/dispatcher.c
    M modules/domain/domain_mod.c
    M modules/mi_datagram/mi_datagram.c
    M modules/mi_fifo/mi_fifo.c
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  Update DB conn usage in TIMER process(es).

As the timer handler are not run any more in the TIMER process (which does only triggering), but in the worker processes, we need to update the child_init() to open the DB conns required by timer handlers in the worker processes and not in the TIMER proc.

More information about the Devel mailing list