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

Remove command queue high and low water marks

This commit is contained in:
Ruben Bridgewater
2015-10-28 23:51:00 +01:00
parent 4e5e4635aa
commit afc4989495
6 changed files with 11 additions and 14 deletions

View File

@@ -82,8 +82,6 @@ function RedisClient(stream, options) {
options.detect_buffers = false;
}
this.should_buffer = false;
this.command_queue_high_water = +options.command_queue_high_water || 1000;
this.command_queue_low_water = options.command_queue_low_water | 0;
this.max_attempts = options.max_attempts | 0;
this.command_queue = new Queue(); // Holds sent commands to de-pipeline them
this.offline_queue = new Queue(); // Holds commands issued but not able to be sent