You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
Performance improvements and backpressure controls.
Simply and speed up command argument processing logic. Commands now return the true/false value from the underlying socket write(s). Implement command_queue high water and low water for more better control of queueing.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// the "new Array(len)" syntax is legal and optimized by V8, but JSHint is utterly confused by it.
|
||||
function to_array(args) {
|
||||
var len = args.length,
|
||||
arr = new Array(len), i;
|
||||
@@ -8,6 +7,6 @@ function to_array(args) {
|
||||
}
|
||||
|
||||
return arr;
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = to_array;
|
||||
|
Reference in New Issue
Block a user