Skip to content

Commit

Permalink
Add persist_connection setting in .example configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandro Santilli committed Mar 24, 2014
1 parent 91cd0df commit e8367b7
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/environments/development.js.example
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ var config = {
*/
row_limit: 65535,
simplify_geometries: true,
/*
* Set persist_connection to false if you want
* database connections to be closed on renderer
* expiration (1 minute after last use).
* Setting to true (the default) would never
* close any connection for the server's lifetime
*/
persist_connection: false,
max_size: 500
}
,mapnik_version: undefined
Expand Down
8 changes: 8 additions & 0 deletions config/environments/production.js.example
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ var config = {
port: 6432,
extent: "-20037508.3,-20037508.3,20037508.3,20037508.3",
row_limit: 65535,
/*
* Set persist_connection to false if you want
* database connections to be closed on renderer
* expiration (1 minute after last use).
* Setting to true (the default) would never
* close any connection for the server's lifetime
*/
persist_connection: false,
simplify_geometries: true,
max_size: 500
}
Expand Down
8 changes: 8 additions & 0 deletions config/environments/staging.js.example
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ var config = {
extent: "-20037508.3,-20037508.3,20037508.3,20037508.3",
row_limit: 65535,
simplify_geometries: true,
/*
* Set persist_connection to false if you want
* database connections to be closed on renderer
* expiration (1 minute after last use).
* Setting to true (the default) would never
* close any connection for the server's lifetime
*/
persist_connection: false,
max_size: 500
}
,mapnik_version: undefined
Expand Down
8 changes: 8 additions & 0 deletions config/environments/test.js.example
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ var config = {
extent: "-20037508.3,-20037508.3,20037508.3,20037508.3",
row_limit: 65535,
simplify_geometries: true,
/*
* Set persist_connection to false if you want
* database connections to be closed on renderer
* expiration (1 minute after last use).
* Setting to true (the default) would never
* close any connection for the server's lifetime
*/
persist_connection: false,
max_size: 500
}
,mapnik_version: ''
Expand Down

0 comments on commit e8367b7

Please sign in to comment.