Skip to content

Commit

Permalink
Merge pull request #7 from oscarsix/connection_pooling
Browse files Browse the repository at this point in the history
Adding connection_cache to pgpool::config::pools
  • Loading branch information
mwhahaha committed Mar 20, 2015
2 parents 898472f + d9faab4 commit 5c87327
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions manifests/config/pools.pp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
# Integer. Cached connections expiration time in se4conds.
# Defaults to <tt>0</tt>.
#
# [*connection_cache*]
# String. Activate connection pools
# Defaults to <tt>on</tt>.
#
# [*reset_query_list*]
# String. The SQL commands to be sent to reset the connection on the backend
# when exiting a session.
Expand Down Expand Up @@ -64,6 +68,7 @@
$child_life_time = 300,
$child_max_connections = 0,
$connection_life_time = 0,
$connection_cache = 'on',
$reset_query_list = 'ABORT; DISCARD ALL',
$client_idle_limit = 0,
$enable_pool_hba = 'off',
Expand All @@ -77,6 +82,7 @@
'child_life_time' => { value => $child_life_time },
'child_max_connections' => { value => $child_max_connections },
'connection_life_time' => { value => $connection_life_time },
'connection_cache' => { value => $connection_cache },
'reset_query_list' => { value => $reset_query_list },
'client_idle_limit' => { value => $client_idle_limit },
'enable_pool_hba' => { value => $enable_pool_hba },
Expand Down

0 comments on commit 5c87327

Please sign in to comment.