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

79 Commits

Author SHA1 Message Date
Ruben Bridgewater
1f9e536ca0 Add use strict statements
This is going to improve the performance minimal and improves the safety of the code
2015-07-22 17:50:37 +02:00
Jeremiah Lee Cohick
ff020d37f3 Clarified COUNT's behavior. scan() now will run until cursor reaches 0. 2015-07-10 18:04:38 -07:00
Jeremiah Lee Cohick
6f28c6acf5 Cursor should be a string 2015-07-10 16:25:52 -07:00
Jeremiah Lee Cohick
010a2acf33 Added example of a Redis SCAN command 2015-07-10 16:10:00 -07:00
DTrejo
938c0526a0 EVAL: allow parameters as an array. Close #368.
Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
2013-02-23 22:05:34 -05:00
DTrejo
6a09b2d1a3 fix require in examples/eval.js 2013-02-17 19:06:36 -05:00
Matt Ranney
ff9ac4bf34 Add eval example. 2011-11-14 20:43:32 -10:00
Matt Ranney
6e38f4d6e0 Merge pull request #146 from maks/master
added sort example
2011-11-13 21:09:25 -08:00
Matt Ranney
f2a6a20a74 Send quit command right away.
The quit/pipeline bug has been fixed in Redis server for some time now.
2011-11-13 18:10:22 -10:00
Maksim Lin
804970f895 added handy example of using sort command using code posted by linus in mranney/node_redis/#103 2011-10-27 15:11:12 +11:00
Matt Ranney
3cc297ada4 Contributed changes:
*  Support SlowBuffers (Umair Siddique)
*  Add Multi to exports (Louis-Philippe Perron)
*  Fix for drain event calculation (Vladimir Dronnikov)

Thanks!
2011-07-06 09:49:40 -05:00
Matt Ranney
886b3355e1 Bugs fixed:
*  authentication retry while server is loading db (danmaz74) [GH-101]
*  command arguments processing issue with arrays

New features:

*  Auto update of new commands from redis.io (Dave Hoover)
*  Performance improvements and backpressure controls.
*  Commands now return the true/false value from the underlying socket write(s).
*  Implement command_queue high water and low water for more better control of queueing.

See `examples/backpressure_drain.js` for more information.
2011-06-30 14:29:58 -06:00
Matt Ranney
f9e17556d2 Performance improvements and backpressure controls.
Simply and speed up command argument processing logic.
Commands now return the true/false value from the underlying socket write(s).
Implement command_queue high water and low water for more better control of queueing.
2011-06-30 14:12:35 -06: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
850d129629 Add monitor example. 2011-03-14 15:53:30 -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
Matt Ranney
2534f740aa Update pub_sub example to show where to put auth. 2011-02-22 21:59:57 -10:00
Matt Ranney
b907364573 Support for multiple reply parsers including hiredis.
Several parsing bugs fixed in JavaScript.
Some new config options that need to be better documented.
2010-12-06 09:11:16 -08:00
Matt Ranney
232f34a4e1 Add Unix socket example. 2010-12-01 22:36:14 -08:00
Matt Ranney
95e60006f6 Add subqueries example. 2010-11-03 14:04:53 -07:00
Matt Ranney
1c5f73f541 Organize examples. 2010-10-20 16:38:33 -07:00
Matt Ranney
85bd648adc Export RedisClient prototype to support extending.
See examples/extend.js for a simple example.
Remove command list from exports while I was in there.
2010-10-05 11:30:57 -07:00
Matt Ranney
6fd6f7ad32 Merge remote branch 'hanksims/master' 2010-10-02 16:19:29 -07:00
Matt Ranney
b24edbecad Simple web server that integrates with Redis. 2010-10-02 16:17:29 -07:00
Hank Sims
0ceb2c0f30 Added a psubscribe example. 2010-10-02 13:18:08 -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
6d1b96500e Update examples. 2010-09-24 14:02:51 -07:00
Matt Ranney
047d367f8c Organize things a little. 2010-09-24 13:15:37 -07:00