Fixed healthcheck for jshint
This commit is contained in:
parent
da70839f78
commit
21b5ed9c8a
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user