[sr-dev] git:master:6619c0d2: db_postgres: add new module vars "timeout" and "tcp_keepalive"

Richard Fuchs rfuchs at sipwise.com
Tue Dec 16 15:14:31 CET 2014


Module: kamailio
Branch: master
Commit: 6619c0d21d6ba862d30f41e93f87e0b3ec06cd02
URL: https://github.com/kamailio/kamailio/commit/6619c0d21d6ba862d30f41e93f87e0b3ec06cd02

Author: Richard Fuchs <rfuchs at sipwise.com>
Committer: Richard Fuchs <rfuchs at sipwise.com>
Date: 2014-12-16T09:10:10-05:00

db_postgres: add new module vars "timeout" and "tcp_keepalive"

The "timeout" option enables a query timeout as well as a connection
timeout, set to the specified number of seconds.

The "tcp_keepalive" option enables the kernel's TCP keepalive packets
on the PGSQL socket and sets the keepalive timer to the specified number
of seconds. Only supported if the platform supports the TCP_KEEPIDLE
socket option.

---

Modified: modules/db_postgres/README
Modified: modules/db_postgres/doc/db_postgres_admin.xml
Modified: modules/db_postgres/km_dbase.c
Modified: modules/db_postgres/km_pg_con.c
Modified: modules/db_postgres/pg_con.c
Modified: modules/db_postgres/pg_mod.c
Modified: modules/db_postgres/pg_mod.h

---

Diff:  https://github.com/kamailio/kamailio/commit/6619c0d21d6ba862d30f41e93f87e0b3ec06cd02.diff
Patch: https://github.com/kamailio/kamailio/commit/6619c0d21d6ba862d30f41e93f87e0b3ec06cd02.patch




More information about the sr-dev mailing list