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

1665 Commits

Author SHA1 Message Date
Aivo Paas
1cfbdea49a Minor fixes in tests
Moved a last() call to the end of a test
Fixed typo and added error message when client emits error
2010-10-02 22:06:16 +03:00
Aivo Paas
3495b60047 Fixed .multi() to convert HGETALL result to an object 2010-10-02 22:00:57 +03:00
Matt Ranney
cb87a9b2b7 Set up connections serially. 2010-10-01 23:12:48 -07:00
Matt Ranney
8356ecfda8 Simplify lowercase command prototype.
Suggested by Rasmus Andersson
2010-09-30 09:15:19 -07:00
Matt Ranney
371469d4d4 Merge branch 'master' into bench 2010-09-29 22:47:41 -07:00
Matt Ranney
b4f5891da3 Draw attention to how awesome and trend-setting our speed techniques are. 2010-09-29 21:38:15 -07:00
Matt Ranney
ffa6465728 Bump version for error handling and performance improvement. 2010-09-29 21:33:52 -07:00
Matt Ranney
8ec36ae383 Merge remote branch 'Tim_Smart/performance' 2010-09-29 21:32:07 -07:00
Matt Ranney
c970b12c25 Reset all parser state on error. 2010-09-29 21:31:36 -07:00
Tim-Smart
4d70a8de4b Loop optimizations 2010-09-30 17:18:53 +13:00
Matt Ranney
d13b506737 Merge remote branch 'orionz/master' 2010-09-29 21:00:34 -07:00
Orion Henry
5321a1746f have the parser try to recover from errors when it has them and communicate this back to the user 2010-09-29 17:10:01 -07:00
Matt Ranney
84bbbde574 WiP for multi_bench 2010-09-28 01:02:10 -07:00
Matt Ranney
8659ecda85 Update contributors info. 2010-09-27 21:55:49 -07:00
Matt Ranney
5010324ecc Bump version for bugfixes. 2010-09-27 21:36:52 -07:00
Orion Henry
98e27c43dd reset subscriptions when the connection is broken 2010-09-27 17:23:23 -07:00
Orion Henry
dcbb87dff7 fix bug not allowing you to quit while in subscribe mode - added test 2010-09-27 17:11:12 -07:00
Orion Henry
01068565d9 adding a test for utf8 strings 2010-09-27 16:34:54 -07:00
Orion Henry
71763dcd66 Send the number of bytes, not characters. Fixes unrecoverable bug if multibyte characters are used. 2010-09-27 08:26:59 -07:00
Matt Ranney
aab093848f Put npm install instructions right up top. 2010-09-24 20:26:11 -07:00
Matt Ranney
a21607100b Add test for multi with array args. 2010-09-24 18:45:39 -07:00
Tim-Smart
a664565922 Allow array args in multi as before 2010-09-24 18:33:38 -07:00
Matt Ranney
c6ed6662eb Bump version for new MULTI syntax. 2010-09-24 14:17:29 -07:00
Matt Ranney
fc5b7e00f8 Typo. 2010-09-24 14:16:22 -07:00
Matt Ranney
17b5082e79 Add example of alternate MULTI syntax. 2010-09-24 14:03:56 -07:00
Matt Ranney
155d321544 All Multi objects to be re-used. 2010-09-24 14:03:36 -07:00
Matt Ranney
85b0f6009d Update documentation for awesome new MULTI syntax. 2010-09-24 14:03:08 -07:00
Matt Ranney
6d1b96500e Update examples. 2010-09-24 14:02:51 -07:00
Matt Ranney
d7b14b335a More tests for different MULTI syntax. 2010-09-24 13:16:30 -07:00
Matt Ranney
d19e893f28 Support new and imrpoved MULTI syntax. 2010-09-24 13:16:02 -07:00
Matt Ranney
047d367f8c Organize things a little. 2010-09-24 13:15:37 -07:00
Matt Ranney
29f10cd593 Merge remote branch 'tj/features/multi'
Conflicts:
	test.js
2010-09-24 10:51:21 -07:00
Matt Ranney
02e466fb75 Bump version for retry fix. 2010-09-23 21:41:35 -07:00
Matt Ranney
f239a32ce8 Bump README.md so Github will notice it. 2010-09-23 21:27:15 -07:00
Matt Ranney
9e65e6a6a8 Improve retry logic. 2010-09-23 16:58:19 -07:00
Matt Ranney
a6bfae83b9 Docs and example of listening for "error" event. 2010-09-23 14:41:34 -07:00
Matt Ranney
a774d9aef5 Send QUIT instead of closing the connection with client.end(). 2010-09-23 12:26:25 -07:00
Matt Ranney
7c90bd8f04 Bump version. 2010-09-23 12:22:40 -07:00
Matt Ranney
6e64d81800 Fix parsing mb nil in nested multi-bulk reply. 2010-09-23 12:21:52 -07:00
Matt Ranney
c1225b9b86 More tests for MULTI and nested multi-bulk replies. 2010-09-23 12:21:24 -07:00
Matt Ranney
abd76f8354 Update docs for end() and quit() 2010-09-23 12:21:02 -07:00
Matt Ranney
f4c7280fb6 Updated outlandish speed claims. 2010-09-23 09:32:54 -07:00
Tj Holowaychuk
7795d68351 Extended multi test to include multibulk 2010-09-22 20:12:37 -07:00
Tj Holowaychuk
91ebe64dae Implemented alternate MULTI syntax
Usage:

  client
    .multi
    .set(foo, bar)
    .set(counter, 1)
    .incr(counter)
    .exec(function(err, replies){});
2010-09-22 18:38:55 -07:00
Matt Ranney
76ecd927cd Support for nested multi-bulk replies. 2010-09-22 17:35:26 -07:00
Matt Ranney
bbbc4abd3b Update MULTI test for nested multi-bulk. 2010-09-22 17:34:45 -07:00
Matt Ranney
1ff6047b01 Update MULTI example and description. 2010-09-22 17:34:07 -07:00
Matt Ranney
ac2c85caef Bump version. 2010-09-22 17:33:36 -07:00
Matt Ranney
9df5bbd97c Bump version to fix hostname bug. 2010-09-22 13:31:16 -07:00
Orion Henry
6c36ed09c0 createClient was ignoring the host arg 2010-09-22 13:16:33 -07:00