[OpenSIPS/opensips] f92822: db_postgres: add timeout parameter

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSIPS/opensips] f92822: db_postgres: add timeout parameter

Răzvan Crainea-2
  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f928222580094687dff77c7e8e760819dfc86e8f
      https://github.com/OpenSIPS/opensips/commit/f928222580094687dff77c7e8e760819dfc86e8f
  Author: Razvan Crainea <[hidden email]>
  Date:   2018-10-01 (Mon, 01 Oct 2018)

  Changed paths:
    M modules/db_postgres/db_postgres.c
    A modules/db_postgres/db_postgres.h
    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

(cherry picked from commit c7e91f5356c9888c7d9c171cb12bd27a1412922d)
(cherry picked from commit 280a4dafca390b980a686882783c53bd81b44201)



      **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.

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel