removed debugging messages

This commit is contained in:
javi 2015-11-16 12:38:42 +01:00
parent e93c6169bd
commit ea2fe75fbc

View File

@ -56,13 +56,11 @@ var Profiler = require('../profiler');
}, },
releaseWorker:function(worker){ releaseWorker:function(worker){
console.log("releasing worker ", worker)
this._workers.push(worker) this._workers.push(worker)
this.processNextTileRequestInQueue() this.processNextTileRequestInQueue()
}, },
processNextTileRequestInQueue:function(){ processNextTileRequestInQueue:function(){
console.log("processing next ",this._tileProcessingQueue.length, this._workers.length )
if(this._tileProcessingQueue.length>0){ if(this._tileProcessingQueue.length>0){
job = this._tileProcessingQueue.pop() job = this._tileProcessingQueue.pop()
this.requestWorker(job.rows,job.coord,job.zoom, job.options, job.callback) this.requestWorker(job.rows,job.coord,job.zoom, job.options, job.callback)