Add generic pool configuration to postgres global config

This commit is contained in:
Daniel García Aubert 2018-05-25 18:38:31 +02:00
parent 4e4399b727
commit b311f0e091
4 changed files with 36 additions and 4 deletions

View File

@ -118,7 +118,15 @@ var config = {
user: "publicuser",
password: "public",
host: '127.0.0.1',
port: 5432
port: 5432,
pool: {
// maximum number of resources to create at any given time
size: 16,
// max milliseconds a resource can go unused before it should be destroyed
idleTimeout: 3000,
// frequency to check for idle resources
reapInterval: 1000
}
}
,mapnik_version: undefined
,mapnik_tile_format: 'png8:m=h'

View File

@ -118,7 +118,15 @@ var config = {
user: "publicuser",
password: "public",
host: '127.0.0.1',
port: 5432
port: 5432,
pool: {
// maximum number of resources to create at any given time
size: 16,
// max milliseconds a resource can go unused before it should be destroyed
idleTimeout: 3000,
// frequency to check for idle resources
reapInterval: 1000
}
}
,mapnik_version: undefined
,mapnik_tile_format: 'png8:m=h'

View File

@ -118,7 +118,15 @@ var config = {
user: "publicuser",
password: "public",
host: '127.0.0.1',
port: 5432
port: 5432,
pool: {
// maximum number of resources to create at any given time
size: 16,
// max milliseconds a resource can go unused before it should be destroyed
idleTimeout: 3000,
// frequency to check for idle resources
reapInterval: 1000
}
}
,mapnik_version: undefined
,mapnik_tile_format: 'png8:m=h'

View File

@ -119,7 +119,15 @@ var config = {
user: "test_windshaft_publicuser",
password: "public",
host: '127.0.0.1',
port: 5432
port: 5432,
pool: {
// maximum number of resources to create at any given time
size: 16,
// max milliseconds a resource can go unused before it should be destroyed
idleTimeout: 3000,
// frequency to check for idle resources
reapInterval: 1000
}
}
,mapnik_version: ''
,mapnik_tile_format: 'png8:m=h'