Exposes pgQueryRunner in server options

This commit is contained in:
Raul Ochoa 2015-04-27 14:54:14 +02:00
parent ef8fcf7e93
commit d180305e8b

View File

@ -102,6 +102,8 @@ module.exports = function(redisPool) {
// Re-use pgConnection
me.pgConnection = pgConnection;
// Re-use pgQueryRunner
me.pgQueryRunner = pgQueryRunner;
var templateMaps = new TemplateMaps(redisPool, {
max_user_templates: global.environment.maxUserTemplates