Fixed healthcheck for jshint

This commit is contained in:
Luis Bosque 2015-04-06 20:35:22 +02:00
parent da70839f78
commit 21b5ed9c8a

View File

@ -11,24 +11,9 @@ function HealthCheck(metadataBackend, tilelive) {
module.exports = HealthCheck;
var mapnikOptions = {
query: {
metatile: 1,
poolSize: 4,
bufferSize: 64
},
protocol: 'mapnik:',
slashes: true,
xml: null
};
var xmlTemplate = dot.template(fs.readFileSync(path.resolve(__dirname, 'map-config.xml'), 'utf-8'));
HealthCheck.prototype.check = function(config, callback) {
var self = this,
startTime,
result = {
var result = {
redis: {
ok: false
},
@ -39,7 +24,6 @@ HealthCheck.prototype.check = function(config, callback) {
ok: false
}
};
var mapnikXmlParams = config;
step(
function getManualDisable() {