1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00
Commit Graph

1875 Commits

Author SHA1 Message Date
Jerry Sievert
3d27cb23ee update for style changes 2012-08-23 13:09:05 -07:00
Jerry Sievert
8be55fb304 fix all but lrange 20k 2012-08-22 21:53:18 -07:00
Martín Ciparelli
124ea082b9 fixes #218 by expanding last argument array only for sadd command
Also adds a test that uses SADD in caps. Nicely enough, this makes
multi_bench.js run just a tiny bit faster :)

Signed-off-by: DTrejo <david.trejo@voxer.com>
2012-08-17 15:33:32 -07:00
Kevin Ingersoll
c8103928b4 Attempt evalsha before eval
Fix #253

Signed-off-by: DTrejo <david.trejo@voxer.com>
2012-08-16 13:51:32 -07:00
DTrejo
58804e6e27 test.js: HLEN 2012-08-06 18:19:47 -07:00
DTrejo
f3ee8eabd8 commands.js regenerated 2012-08-06 15:05:25 -07: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
f120cbd302 diff_multi_bench_output.js for easy benchmark comparison 2012-07-12 17:50:30 -07:00
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>
2012-07-12 17:19:16 -07:00
Jerry Sievert
34568a4bb3 added fallback if missing Buffer.concat() 2012-07-08 14:54:48 -07:00
Jerry Sievert
8d0f2e7239 some microbenchmark updates, slight speed improvement 2012-07-08 08:32:33 -07:00
Jerry Sievert
4048349115 some cleanup and comments 2012-07-08 05:16:36 -07:00
DTrejo
a5ea716ccb readme: add more contributors 2012-07-07 17:00:00 -07:00
Jerry Sievert
7ec1815188 generally faster javascript parser 2012-07-07 02:44:51 -07:00
DTrejo
a798cc0e57 readme.md: typo 2012-07-05 19:27:20 -07:00
DTrejo
64702f18c1 rename tests to benches for clarity 2012-07-05 19:20:56 -07:00
DTrejo
1b0b2dc87d index.js: fix enable_offline_queue default. tests pass 2012-07-05 19:18:26 -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
Shankar Karuppiah
71a52638de Added checking for callback before attempting to execute the callback
Signed-off-by: DTrejo <david.trejo@voxer.com>
2012-07-05 19:04:19 -07:00
Shankar Karuppiah
83dc4c999b Added option to disable offline queue
Signed-off-by: DTrejo <david.trejo@voxer.com>
2012-07-05 19:04:10 -07:00
Trae Robrock
eb005b10df Forgot a comma
Signed-off-by: DTrejo <david.trejo@voxer.com>
2012-07-05 17:09:26 -07:00
Trae Robrock
db4f1648d4 Adding tests for idle event
Signed-off-by: DTrejo <david.trejo@voxer.com>
2012-07-05 17:09:26 -07:00
Trae Robrock
2224767c4c Moving some logic that should fix the idle event
Signed-off-by: DTrejo <david.trejo@voxer.com>
2012-07-05 17:09:26 -07:00
DTrejo
b60e001fa0 hmset throws/errors out on non-string values. fixes #218 2012-06-04 16:13:56 -07:00
DTrejo
7734fb63b4 fix #222 hmset object expansion by @kartikrao 2012-06-04 13:43:10 -07:00
DTrejo
65142cf8c0 [doc] missing key, fix #223 2012-06-04 10:26:12 -07:00
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>
2012-04-29 23:00:56 -04:00
Matt Ranney
172fc8251b Bump version. 2012-04-29 15:19:51 -10:00
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)
v0.7.2
2012-04-29 15:18:30 -10:00
Matt Ranney
09dc8dcf39 Merge pull request #166 from TEHEK/issue-165
Fix for [GH-165] - createClient to properly assign parser_module
2012-04-29 17:59:14 -07:00
Matt Ranney
9e76387f59 Merge pull request #190 from bnoguchi/pub_sub_mode-fix
Pub sub mode fix
2012-04-29 17:56:01 -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
f2e123c42d package.json: add dtrejo as maintainer 2012-04-27 15:25:09 -04:00
TEHEK Firefox
02b62e56bd Fix for [GH-165] - createClient to properly assign parser_module
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
2012-04-27 13:41:42 -04:00
David Trejo
3b645c893d index.js: fix missing .EXEC alias 2012-04-27 13:35:14 -04:00
David Trejo
625d5134e2 readme: add more contributors 2012-04-27 13:31:15 -04:00
David Trejo
72476be3e1 package.json: add a few missing contributors 2012-04-27 13:31:10 -04:00
David Trejo
e7e5a07594 readme: add a few missing contributors to the list 2012-04-23 19:45:06 -04:00
Marcus Westin
69cf7dcd1b git ignore node_modules
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
2012-04-23 19:45:06 -04:00
Marcus Westin
b1ccbd71f9 Fix package.json format
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
2012-04-23 19:45:06 -04:00
David Trejo
f4d5c95337 Merge pull request #206 from bluesmoon/patch-1
remove duplicate "take either"
2012-04-23 16:14:18 -07:00
Philip Tellis
4f172ce713 remove duplicate "take either" 2012-04-23 17:11:02 -03:00