94e9f1fcfc
Replace jshint with eslint and add lots of rules
...
Fix eslint errors accordingly
2016-03-26 14:45:12 +01:00
ddbb94b598
Fix file example
...
Fixes #176
2016-03-21 17:22:00 +01:00
545e7231ab
Update SCAN example code
2016-01-31 12:25:35 +02:00
afc4989495
Remove command queue high and low water marks
2015-10-28 23:53:10 +01:00
7922d4eb85
Small style changes
2015-10-07 16:34:41 +02:00
06c5f1922b
Add jshint and fix errors accordingly (including broken tests)
2015-09-12 18:56:49 +02:00
1eb30add66
Use util.debuglog instead of using different indidivudal styles for debugging
2015-09-02 21:49:11 +02:00
6866ff9b1e
Remove trailing whitespace
2015-07-22 17:51:08 +02:00
a2bc597212
Add simicolons
...
This is just a style change
2015-07-22 17:51:07 +02:00
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
ff020d37f3
Clarified COUNT's behavior. scan() now will run until cursor reaches 0.
2015-07-10 18:04:38 -07:00
6f28c6acf5
Cursor should be a string
2015-07-10 16:25:52 -07:00
010a2acf33
Added example of a Redis SCAN command
2015-07-10 16:10:00 -07:00
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
6a09b2d1a3
fix require in examples/eval.js
2013-02-17 19:06:36 -05:00
ff9ac4bf34
Add eval example.
2011-11-14 20:43:32 -10:00
6e38f4d6e0
Merge pull request #146 from maks/master
...
added sort example
2011-11-13 21:09:25 -08:00
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
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
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
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
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
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
850d129629
Add monitor example.
2011-03-14 15:53:30 -10:00
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
2534f740aa
Update pub_sub example to show where to put auth.
2011-02-22 21:59:57 -10:00
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
232f34a4e1
Add Unix socket example.
2010-12-01 22:36:14 -08:00
95e60006f6
Add subqueries example.
2010-11-03 14:04:53 -07:00
1c5f73f541
Organize examples.
2010-10-20 16:38:33 -07:00
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
6fd6f7ad32
Merge remote branch 'hanksims/master'
2010-10-02 16:19:29 -07:00
b24edbecad
Simple web server that integrates with Redis.
2010-10-02 16:17:29 -07:00
0ceb2c0f30
Added a psubscribe example.
2010-10-02 13:18:08 -07:00
fc5b7e00f8
Typo.
2010-09-24 14:16:22 -07:00
17b5082e79
Add example of alternate MULTI syntax.
2010-09-24 14:03:56 -07:00
6d1b96500e
Update examples.
2010-09-24 14:02:51 -07:00
047d367f8c
Organize things a little.
2010-09-24 13:15:37 -07:00