Browse Source

Added "pgsql.auto_reset_persistent" ini entry to catch broken connection

always with pg_pconnect(). (Default Off in source and php.ini-*)
This option requires a little overhead for pg_pconnect().
experimental/ZendEngine2
Yasuo Ohgaki 24 years ago
parent
commit
e19be6171f
  1. 3
      php.ini-dist
  2. 3
      php.ini-recommended

3
php.ini-dist

@ -582,6 +582,9 @@ msql.max_links = -1
; Allow or prevent persistent links.
pgsql.allow_persistent = On
; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
pgsql.auto_reset_persistent = Off
; Maximum number of persistent links. -1 means no limit.
pgsql.max_persistent = -1

3
php.ini-recommended

@ -587,6 +587,9 @@ msql.max_links = -1
; Allow or prevent persistent links.
pgsql.allow_persistent = On
; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
pgsql.auto_reset_persistent = Off
; Maximum number of persistent links. -1 means no limit.
pgsql.max_persistent = -1

Loading…
Cancel
Save