You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
doc: fix typos
This commit is contained in:
@@ -12,12 +12,12 @@ var RedisClient = require('../').RedisClient;
|
||||
Replace built-in redis functions
|
||||
|
||||
The callback may be hooked as needed. The same does not apply to the rest of the function.
|
||||
State should not be set outside of the callback if not absolutly necessary.
|
||||
State should not be set outside of the callback if not absolutely necessary.
|
||||
This is important to make sure it works the same as single command or in a multi context.
|
||||
To make sure everything works with the offline queue use the "callOnWrite" function.
|
||||
This is going to be executed while writing to the stream.
|
||||
|
||||
TODO: Implement individal command generation as soon as possible to prevent divergent code
|
||||
TODO: Implement individual command generation as soon as possible to prevent divergent code
|
||||
on single and multi calls!
|
||||
********************************************************************************************/
|
||||
|
||||
@@ -82,7 +82,7 @@ Multi.prototype.monitor = Multi.prototype.MONITOR = function monitor (callback)
|
||||
function quitCallback (self, callback) {
|
||||
return function (err, res) {
|
||||
if (err && err.code === 'NR_CLOSED') {
|
||||
// Pretent the quit command worked properly in this case.
|
||||
// Pretend the quit command worked properly in this case.
|
||||
// Either the quit landed in the offline queue and was flushed at the reconnect
|
||||
// or the offline queue is deactivated and the command was rejected right away
|
||||
// or the stream is not writable
|
||||
@@ -149,7 +149,7 @@ function infoCallback (self, callback) {
|
||||
obj.versions.push(+num);
|
||||
});
|
||||
}
|
||||
// Expose info key/vals to users
|
||||
// Expose info key/values to users
|
||||
self.serverInfo = obj;
|
||||
} else {
|
||||
self.serverInfo = {};
|
||||
|
Reference in New Issue
Block a user