DTrejo
a042258794
readme.md: reorder
12 years ago
DTrejo
949ecdff31
readme.md: add ignacio as contrib
12 years ago
DTrejo
92264ad5fa
readme.md: how to ZREVRANGEBYSCORE with LIMIT. fixes #163
12 years ago
DTrejo
49c73bac30
readme: please include bench results on iffy pull requests
12 years ago
DTrejo
f120cbd302
diff_multi_bench_output.js for easy benchmark comparison
12 years ago
Ignacio Burgueño
50914baa7f
Save and clear client state. Restore it after the connection is ready.
This change stores the connection state regarding subscriptions,
selected db and monitoring. When the connection to Redis drops, the state
is reestablished after a succesful reconnect. Fixes #241 . Fixes #210 .
Signed-off-by: DTrejo <david.trejo@voxer.com>
12 years ago
Jerry Sievert
34568a4bb3
added fallback if missing Buffer.concat()
12 years ago
Jerry Sievert
8d0f2e7239
some microbenchmark updates, slight speed improvement
12 years ago
Jerry Sievert
4048349115
some cleanup and comments
12 years ago
DTrejo
a5ea716ccb
readme: add more contributors
12 years ago
Jerry Sievert
7ec1815188
generally faster javascript parser
12 years ago
DTrejo
a798cc0e57
readme.md: typo
12 years ago
DTrejo
64702f18c1
rename tests to benches for clarity
12 years ago
DTrejo
1b0b2dc87d
index.js: fix enable_offline_queue default. tests pass
12 years ago
DTrejo
a532e65ccf
readme: how to contribute
12 years ago
Shankar Karuppiah
c913c06f46
Added documentation for disable_offline_queue option
Signed-off-by: DTrejo <david.trejo@voxer.com>
13 years ago
Shankar Karuppiah
71a52638de
Added checking for callback before attempting to execute the callback
Signed-off-by: DTrejo <david.trejo@voxer.com>
13 years ago
Shankar Karuppiah
83dc4c999b
Added option to disable offline queue
Signed-off-by: DTrejo <david.trejo@voxer.com>
13 years ago
Trae Robrock
eb005b10df
Forgot a comma
Signed-off-by: DTrejo <david.trejo@voxer.com>
12 years ago
Trae Robrock
db4f1648d4
Adding tests for idle event
Signed-off-by: DTrejo <david.trejo@voxer.com>
12 years ago
Trae Robrock
2224767c4c
Moving some logic that should fix the idle event
Signed-off-by: DTrejo <david.trejo@voxer.com>
12 years ago
DTrejo
b60e001fa0
hmset throws/errors out on non-string values. fixes #218
13 years ago
DTrejo
7734fb63b4
fix #222 hmset object expansion by @kartikrao
13 years ago
DTrejo
65142cf8c0
[doc] missing key, fix #223
13 years ago
Dave Peticolas
874a893c2c
test.js: Switch to pubsub mode when the number of channels is > 0.
Tests for a bug where the client unsubscribes
and then subscribes to a single channel. If the
subscription is sent before the response to the
unsubscribe is received, then the client would
leave pubsub mode when it received the unsubscribe
response and then fail to enter when the subsequent
subscription is processed. This is another test for #190 :
https://github.com/mranney/node_redis/pull/190
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
13 years ago
Matt Ranney
172fc8251b
Bump version.
13 years ago
Matt Ranney
1d22f1f874
Many contributed fixes. Thank you, contributors.
* [GH-190] - pub/sub mode fix (Brian Noguchi)
* [GH-165] - parser selection fix (TEHEK)
* numerous documentation and examples updates
* auth errors emit Errors instead of Strings (David Trejo)
13 years ago
Matt Ranney
09dc8dcf39
Merge pull request #166 from TEHEK/issue-165
Fix for [GH-165] - createClient to properly assign parser_module
13 years ago
Matt Ranney
9e76387f59
Merge pull request #190 from bnoguchi/pub_sub_mode-fix
Pub sub mode fix
13 years ago
David Trejo
38e38c5e7c
readme: info on how to select a different db
13 years ago
David Trejo
0a732b8c0e
readme: warn that code in callbacks to commands in a multi are not atomic
13 years ago
David Trejo
710a705be2
readme: highlight js examples
13 years ago
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>
13 years ago
David Trejo
f2e123c42d
package.json: add dtrejo as maintainer
13 years ago
TEHEK Firefox
02b62e56bd
Fix for [GH-165] - createClient to properly assign parser_module
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
13 years ago
David Trejo
3b645c893d
index.js: fix missing .EXEC alias
13 years ago
David Trejo
625d5134e2
readme: add more contributors
13 years ago
David Trejo
72476be3e1
package.json: add a few missing contributors
13 years ago
David Trejo
e7e5a07594
readme: add a few missing contributors to the list
13 years ago
Marcus Westin
69cf7dcd1b
git ignore node_modules
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
13 years ago
Marcus Westin
b1ccbd71f9
Fix package.json format
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
13 years ago
David Trejo
f4d5c95337
Merge pull request #206 from bluesmoon/patch-1
remove duplicate "take either"
13 years ago
Philip Tellis
4f172ce713
remove duplicate "take either"
13 years ago
Brian Noguchi
64a0e68927
Add fix for last test (re-establish pub_sub_mode = true)
13 years ago
Brian Noguchi
2afa0e5acc
Add failing test.
The test demonstrates failure for the following scenario. A single-subscription
client calls unsubscribe immediately followed by a subscribe. It will fail when
it tries to receive the next pmessage/message because the client will be in
false pub_sub_mode. Here is why it is false: First, the 2nd subscribe sets
pub_sub_mode to true during send_command. Next, the unsubscribe's
return_reply sets pub_sub_mode to false. The 2nd subscribe's return_reply does
not re-set pub_sub_mode back to true. So the result is a client with false
pub_sub_mode that fails upon receipt of the next message or pmessage.
13 years ago
Brian Noguchi
5a5af9a4f9
Add comma to package.json
13 years ago
Matt Ranney
a02e058df7
Merge pull request #183 from DTrejo/master
How to correctly auth to server; what error to look for if you're doing it wrong; emit Error objects not string
13 years ago
David Trejo
cd5db44f66
readme: how to correctly auth to server, what error looks like if done wrong
13 years ago
David Trejo
234ae6be9a
Emit Error objects not strings
13 years ago
David Trejo
5afa763c89
readme code formatting
13 years ago