1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Contributed changes:

*  Support SlowBuffers (Umair Siddique)
*  Add Multi to exports (Louis-Philippe Perron)
*  Fix for drain event calculation (Vladimir Dronnikov)

Thanks!
This commit is contained in:
Matt Ranney
2011-07-06 09:49:40 -05:00
parent 49300363e4
commit 3cc297ada4
5 changed files with 44 additions and 3 deletions

View File

@@ -285,7 +285,7 @@ RedisClient.prototype.send_offline_queue = function () {
}
this.offline_queue = new Queue();
// Even though items were shifted off, Queue backing store still uses memory until next add, so just get a new Queue
if (!buffered_writes) {
this.should_buffer = false;
this.emit("drain");