Add generic pool configuration to postgres global config
This commit is contained in:
parent
4e4399b727
commit
b311f0e091
@ -118,7 +118,15 @@ var config = {
|
|||||||
user: "publicuser",
|
user: "publicuser",
|
||||||
password: "public",
|
password: "public",
|
||||||
host: '127.0.0.1',
|
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_version: undefined
|
||||||
,mapnik_tile_format: 'png8:m=h'
|
,mapnik_tile_format: 'png8:m=h'
|
||||||
|
@ -118,7 +118,15 @@ var config = {
|
|||||||
user: "publicuser",
|
user: "publicuser",
|
||||||
password: "public",
|
password: "public",
|
||||||
host: '127.0.0.1',
|
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_version: undefined
|
||||||
,mapnik_tile_format: 'png8:m=h'
|
,mapnik_tile_format: 'png8:m=h'
|
||||||
|
@ -118,7 +118,15 @@ var config = {
|
|||||||
user: "publicuser",
|
user: "publicuser",
|
||||||
password: "public",
|
password: "public",
|
||||||
host: '127.0.0.1',
|
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_version: undefined
|
||||||
,mapnik_tile_format: 'png8:m=h'
|
,mapnik_tile_format: 'png8:m=h'
|
||||||
|
@ -119,7 +119,15 @@ var config = {
|
|||||||
user: "test_windshaft_publicuser",
|
user: "test_windshaft_publicuser",
|
||||||
password: "public",
|
password: "public",
|
||||||
host: '127.0.0.1',
|
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_version: ''
|
||||||
,mapnik_tile_format: 'png8:m=h'
|
,mapnik_tile_format: 'png8:m=h'
|
||||||
|
Loading…
Reference in New Issue
Block a user