Use torque renderer config

Adds some notes about db pool params in torque
This commit is contained in:
Raul Ochoa
2015-09-04 16:33:40 +02:00
parent 13a2001a2b
commit e0a7eb01cc
5 changed files with 41 additions and 0 deletions
@@ -162,6 +162,16 @@ var config = {
type: 'fs', // 'fs' and 'url' supported
src: __dirname + '/../../assets/default-placeholder.png'
}
},
torque: {
dbPoolParams: {
// 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
}
}
}
,millstone: {