Remove unused variables

This commit is contained in:
Raul Ochoa 2015-09-16 17:02:35 +02:00
parent 066aff16f1
commit 99d78ce9b8

View File

@ -1,10 +1,7 @@
var assert = require('assert');
var express = require('express');
var RedisPool = require('redis-mpool');
var cartodbRedis = require('cartodb-redis');
var _ = require('underscore');
var step = require('step');
var controller = require('./controllers');
@ -32,18 +29,6 @@ var PgConnection = require('./backends/pg_connection');
var CdbRequest = require('./models/cdb_request');
var cdbRequest = new CdbRequest();
var LZMA = require('lzma').LZMA;
// Whitelist query parameters and attach format
var REQUEST_QUERY_PARAMS_WHITELIST = [
'config',
'map_key',
'api_key',
'auth_token',
'callback'
];
var lzmaWorker = new LZMA();
var timeoutErrorTilePath = __dirname + '/../../assets/render-timeout-fallback.png';
var timeoutErrorTile = require('fs').readFileSync(timeoutErrorTilePath, {encoding: null});