[OpenSIPS-Devel] [OpenSIPS/opensips] c7e91f: db_postgres: add timeout parameter

Razvan Crainea razvan at opensips.org
Mon Oct 1 02:47:05 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c7e91f5356c9888c7d9c171cb12bd27a1412922d
      https://github.com/OpenSIPS/opensips/commit/c7e91f5356c9888c7d9c171cb12bd27a1412922d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2018-10-01 (Mon, 01 Oct 2018)

  Changed paths:
    M modules/db_postgres/db_postgres.c
    M modules/db_postgres/dbase.h
    M modules/db_postgres/doc/db_postgres_admin.xml
    M modules/db_postgres/pg_con.c

  Log Message:
  -----------
  db_postgres: add timeout parameter

Prevent db_postgres from getting OpenSIPS stuck trying to connect to
an unreachable PostgreSQL server.

Credits go to Andrew(kertor) for reporting this.
Close #1443



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Devel mailing list