make pulseQueryQueue explicitly private

This commit is contained in:
brianc 2011-02-04 20:07:59 -06:00
parent 4724444e3d
commit 039c394cb1

View File

@ -87,7 +87,7 @@ p.connect = function() {
}
this.activeQuery = null;
self.readyForQuery = true;
self.pulseQueryQueue();
self._pulseQueryQueue();
});
con.on('error', function(error) {
@ -104,7 +104,7 @@ p.connect = function() {
});
};
p.pulseQueryQueue = function() {
p._pulseQueryQueue = function() {
if(this.readyForQuery===true) {
this.activeQuery = this.queryQueue.shift();
if(this.activeQuery) {
@ -134,7 +134,7 @@ p.query = function(config, values, callback) {
var query = new Query(config);
this.queryQueue.push(query);
this.pulseQueryQueue();
this._pulseQueryQueue();
return query;
};