removed debugging messages
This commit is contained in:
parent
e93c6169bd
commit
ea2fe75fbc
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user