From 039c394cb19dcd6de7a41322e4fd8bdf8fc44df7 Mon Sep 17 00:00:00 2001 From: brianc Date: Fri, 4 Feb 2011 20:07:59 -0600 Subject: [PATCH] make pulseQueryQueue explicitly private --- lib/client.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/client.js b/lib/client.js index 78ce8cbf..3af94fe0 100644 --- a/lib/client.js +++ b/lib/client.js @@ -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; };