Bryce Baril
2e3cb99011
Merge branch 'master' of https://github.com/migounette/node_redis into migounette-master
2014-07-10 22:01:34 -07:00
Bryce Baril
8b5d55fecd
Set socket_keepalive to default to true
2014-07-10 21:18:47 -07:00
migounette
8e0dcc0a55
Rollback package.json version and changelog.md
...
Adjust the README.md section
2014-07-11 04:49:50 +02:00
migounette
9c68a286b1
Add full IPv6 redis connection capability in a full IPv6 network or in a mix network (IPv4 and IPv6)
2014-06-23 16:38:37 +02:00
Mohit Gupta
d313aa5dab
param socket_keepalive to set keep-alive on socket
2014-03-25 16:33:43 -07:00
Chakrit Wichian
8c394c1101
README for unix domain socket connection.
2013-10-11 16:00:04 +07:00
Bryce Baril
b12c49a207
Add unref() method to RedisClient that will call unref() on the socket connection, allowing it to close when unused. This is experimental because it does not yet understand the Redis protocol, so subscriptions or blocking operations will not work correctly.
2013-10-02 16:10:26 -07:00
Henrik Peinar
660b89bb42
Added auth_pass to readme too
2013-05-31 11:11:37 -07:00
Thanasis Polychronakis
802539b07e
update docs for MULTI exception
2013-04-19 15:49:32 +03:00
Luke Plaster
f558cae049
Amended README to refer to 'pub/sub' mode as 'subscriber' mode; fixes mranney/node_redis#420
2013-04-14 16:32:35 +01:00
Bryce Baril
3aab43e55a
Spelling fix in the docs.
2013-03-17 16:31:05 -07:00
Tomasz Durka
c456315c1c
Add docu for options: max_attemps connect_timeout
2013-03-18 00:16:58 +01:00
Tomasz Durka
3759291034
Docu
2013-03-17 23:52:17 +01:00
DTrejo
405011b640
Revert "hmset throws/errors out on non-string values. fixes #218 "
...
Reverting because this was a documentation problem, not a problem with
the code. Performance-wise, this is faster than the approach in #345 , though
it may cause users more trouble. This is okay, if someone opens an issue we
can point them to the docs.
This reverts commit b60e001fa0
.
Conflicts:
index.js
test.js
2013-02-23 22:56:08 -05:00
Jonas Dohse
f0ae6642f9
Use first word of multi word commands
...
Close #363 .
Signed-off-by: DTrejo <david.daniel.trejo@gmail.com >
2013-02-23 22:18:13 -05:00
DTrejo
75c38dd8b3
README.md: more indignation
2012-07-30 15:10:41 -07:00
DTrejo
a042258794
readme.md: reorder
2012-07-26 10:52:03 -07:00
DTrejo
949ecdff31
readme.md: add ignacio as contrib
2012-07-25 19:16:07 -07:00
DTrejo
92264ad5fa
readme.md: how to ZREVRANGEBYSCORE with LIMIT. fixes #163
2012-07-25 18:33:49 -07:00
DTrejo
49c73bac30
readme: please include bench results on iffy pull requests
2012-07-12 17:56:43 -07:00
DTrejo
a5ea716ccb
readme: add more contributors
2012-07-07 17:00:00 -07:00
DTrejo
a798cc0e57
readme.md: typo
2012-07-05 19:27:20 -07:00
DTrejo
a532e65ccf
readme: how to contribute
2012-07-05 19:04:19 -07:00
Shankar Karuppiah
c913c06f46
Added documentation for disable_offline_queue option
...
Signed-off-by: DTrejo <david.trejo@voxer.com >
2012-07-05 19:04:19 -07:00
DTrejo
b60e001fa0
hmset throws/errors out on non-string values. fixes #218
2012-06-04 16:13:56 -07:00
DTrejo
65142cf8c0
[doc] missing key, fix #223
2012-06-04 10:26:12 -07:00
David Trejo
38e38c5e7c
readme: info on how to select a different db
2012-04-27 21:17:14 -04:00
David Trejo
0a732b8c0e
readme: warn that code in callbacks to commands in a multi are not atomic
2012-04-27 21:07:59 -04:00
David Trejo
710a705be2
readme: highlight js examples
2012-04-27 21:07:17 -04:00
Jed Schmidt
192784905b
Removed reference to individual args
argument
...
When the second argument of `send_command` is not an array, the following
error is thrown:
Error: send_command: second argument must be an array
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com >
2012-04-27 16:43:09 -04:00
David Trejo
625d5134e2
readme: add more contributors
2012-04-27 13:31:15 -04:00
David Trejo
e7e5a07594
readme: add a few missing contributors to the list
2012-04-23 19:45:06 -04:00
Philip Tellis
4f172ce713
remove duplicate "take either"
2012-04-23 17:11:02 -03:00
David Trejo
cd5db44f66
readme: how to correctly auth to server, what error looks like if done wrong
2012-03-05 17:31:47 -05:00
David Trejo
5afa763c89
readme code formatting
2012-03-05 15:31:43 -05:00
Matt Ranney
642df49924
Further document no_ready_check.
2011-11-16 17:26:58 -10:00
Matt Ranney
b9734d13eb
Add socket_nodelay option to control Nagle. Fixes [GH-33]
2011-11-16 11:12:26 -10:00
Matt Ranney
336030a33d
Fix documentation for detect_buffers.
2011-11-16 10:29:58 -10:00
Matt Ranney
461ed06fab
Doc update for [GH-148] fix.
2011-11-15 19:40:50 -10:00
Matt Ranney
edf46776a1
Merge remote-tracking branch 'dayananda/master'
...
Conflicts:
index.js
2011-11-15 19:40:24 -10:00
Matt Ranney
69092a3f26
[GH-67] - hgetall now returns null instead of {} on empty reply
2011-11-15 15:21:49 -10:00
Dayananda Nanjundappa
a6670edb9a
Support for retrieving data as Buffer on a per command basis
...
This is achieved by introducing a new option to the createClient method called bufferedInput.
If bufferedInput is set to true, then the returned data will be a Buffer if the command argument passed is a buffer
E.g.
var redis = require("redis"),
client = redis.createClient(<port>, <host>, {buffered_input: true});
client.set("foo_rand000000000000", "OK");
// The below get request will return a utf8 string
client.get("foo_rand000000000000", function (err, reply) {
console.log(reply.toString()); // Will print `OK`
});
// The below get request will return a Buffer as the key is specified as a Buffer
client.get(new Buffer("foo_rand000000000000"), function (err, reply) {
console.log(reply.toString()); // Will print `<Buffer 4f 4b>`
});
client.end();
2011-11-03 16:32:47 +05:30
Matt Ranney
04b4db8723
Mention EVAL.
2011-06-30 15:33:27 -06:00
Matt Ranney
bd21c73b81
Move usage example to the top.
2011-06-30 15:31:03 -06:00
Matt Ranney
68774e071c
Update description of hiredis and JS parser.
2011-06-30 15:27:49 -06:00
Matt Ranney
707c9ab3df
Add static list of commands to those downloaded from redis.io.
2011-06-28 22:48:30 -07:00
Matt Ranney
3d36711563
Auto update of new commands from redis.io (Dave Hoover)
...
Run this: node generate_commands.js
To fetch redis.io/commands.json and save it to a file that node_redis will read at startup.
2011-06-12 14:25:57 -10:00
Matt Ranney
f10ff9e916
Lots of bugs fixed.
...
* connection error did not properly trigger reconnection logic [GH-85]
* client.hmget(key, [val1, val2]) was not expanding properly [GH-66]
* client.quit() while in pub/sub mode would throw an error [GH-87]
* client.multi(['hmset', 'key', {foo: 'bar'}]) fails [GH-92]
2011-04-21 16:48:14 -10:00
Matt Ranney
2fcc947f11
Add MONITOR
command and special monitor command reply parsing.
2011-03-14 15:50:47 -10:00
Matt Ranney
1a14e24faa
Add magical auth command.
...
Authentication is now remembered by the client and will be automatically sent to the server
on every connection, including any reconnections.
2011-02-27 23:10:44 -10:00