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

292 Commits

Author SHA1 Message Date
Andrew Shapro
740d0e525d change times_connected to attempt in the retry_strategy 2017-03-16 14:44:37 -07:00
Ruben Bridgewater
7effa210a9 Improve documentation 2017-03-11 15:17:44 -03:00
Kyle J. Davis
0a4a4ebfa1 Added example for rename_commands
Fixes #1192.
2017-03-06 13:54:33 -05:00
Ruben Bridgewater
4b27f798d8 Merge pull request #1168 from katoken-0215/wrong-example-retry-strategy
Check options.error
2016-11-25 20:15:43 +01:00
Mark Wubben
18d5f604f5 Update retry_strategy example
Presumably `Math.min()` was intended, otherwise the `options.attempt * 100` result would be ignored for the first 30 attempts. IMHO the initial retries should be quick, but then the delay should be capped at a reasonable interval.
2016-11-10 15:55:25 +00:00
Kenji.Kato
dd3179a183 Check options.error
options.error it sometimes null.
Example code should check it before reference options.error.code.
(See also #1159 )
2016-11-05 03:31:20 +09:00
Ruben Bridgewater
d8d0e2d3e3 Merge pull request #1031 from BrianRossmajer/patch-1
Noting in documentation when client.duplicate() might be used
2016-10-31 20:28:09 +01:00
Ruben Bridgewater
782f2553f9 README improvements
highlight that all Redis commands are supported.
2016-10-08 15:39:58 +02:00
Austin Winslow
a5b5ccbba3 Noting in docs that retry_max_delay and connect_timeout are deprecated 2016-06-14 13:24:20 -05:00
Brian Rossmajer
fc2c0dd78f Update README.md
Removing the negative example
2016-06-04 23:05:01 -04:00
Ruben Bridgewater
79fc40036b Merge pull request #1074 from NodeRedis/v.2.6.0-proposal
v.2.6.0-proposal
2016-06-01 16:21:49 +02:00
Ruben Bridgewater
2c6e1e0cc0 Improve error stacks in development and debug mode 2016-05-29 01:38:34 +02:00
Ruben Bridgewater
fe00bf271d Update redis-parser to v.2.0.0
Update all code accordingly
2016-05-29 01:38:34 +02:00
Alejandro Oviedo
3e03f1961b link build badge to master branch 2016-05-17 10:01:07 -03:00
Kevin Leung
bd633d7306 Do you mean snake_case instead of snack_case? 2016-05-04 15:18:26 +08:00
Ruben Bridgewater
03f1a606f7 Improve error handling
Added individual error classes
Don't silently fail for commands without callback from now on
General polishing (e.g. better error messages)

Fix typos
2016-04-29 04:31:39 +02:00
Ruben Bridgewater
cd58e1fd89 Implement message_buffer and pmessage_buffer events 2016-04-29 04:10:23 +02:00
Ruben Bridgewater
8e24380d53 Add optional callback option to duplicate function 2016-04-29 04:10:23 +02:00
Ruben Bridgewater
d2b8f2f391 Add support for camelCase
Fixes missing `EXEC_BATCH` on multi
2016-04-29 04:10:23 +02:00
Ruben Bridgewater
a11e0c5ff9 Don't expose internal variables 2016-04-22 02:32:52 +02:00
Ruben Bridgewater
4e529814d4 Small Readme fixes 2016-04-22 02:32:51 +02:00
Ruben Bridgewater
c2c57ded9e Readme grammar fixes 2016-04-21 04:08:20 +02:00
Kyle
0311198f7d Altered createClient readme
Fixed typos, made language consistent, removed opinion, switched from
bullets to table
2016-04-21 04:08:20 +02:00
Brian Rossmajer
6c118c311f Noting when client.duplicate() might be used
Explicitly pointing out that when blocking and non-blocking functions are used on the same connection, unexpected results can occur
2016-04-07 23:05:56 -04:00
Ruben Bridgewater
b59225e35e Update readme 2016-04-01 11:42:22 +02:00
Ruben Bridgewater
48481552c9 Calling quit should always close the connection 2016-03-27 05:18:38 +02:00
Ruben Bridgewater
0c5947be51 Add string_numbers option to handle very big numbers 2016-03-27 03:19:18 +02:00
Ruben Bridgewater
7a5a4aa535 Fix pub sub mode
There is likely a better and more performant way to fix this but this works so far
and should be good enough to release and improve later.

Make test more robust

Add another test
2016-03-26 02:14:10 +01:00
Ruben Bridgewater
a8e7d59e62 Add a note about not prefixing the keys command
Fixes #1012
2016-03-26 00:59:52 +01:00
Ruben Bridgewater
344291a98a Fix monitoring mode 2016-03-25 16:09:20 +01:00
Ruben Bridgewater
7eebdf94d7 Merge pull request #999 from beaulm/patch-1
Fix typo
2016-03-07 03:28:38 +01:00
beaulm
ae0030659f Update README.md
Changed "Note that the API is entire asynchronous" to "Note that the API is entirely asynchronous"
2016-03-06 20:22:43 -06:00
Ruben Bridgewater
7c9c5e2693 Update readme to include more details about retry_strategy and backpressure 2016-03-07 02:34:30 +01:00
Ruben Bridgewater
575ad7357b Insert deprecation warnings and some minor refactoring 2016-03-07 01:57:56 +01:00
Ruben Bridgewater
8dcf06754d Add warnings and handle protocol errors gracefuly 2016-03-01 17:59:16 +01:00
ajk
713151467e Fix the port number in Readme to 6379 instead of 6370 2016-01-18 14:33:37 -08:00
Jan-Erik Rediger
89de457bba Fix typo in README 2016-01-06 18:05:46 -08:00
Ruben Bridgewater
ccf4c9950d Update readme and changelog 2015-12-31 06:00:20 +01:00
Ruben Bridgewater
f6f5d91709 Deprecate .end() by making the flush parameter mandatory and fix the docs 2015-12-30 16:18:17 +01:00
Ruben Bridgewater
e89bcec1c2 Deprecate and warn on null / undefined arguments 2015-12-30 16:18:17 +01:00
Ruben Bridgewater
16a1d69c82 Move parsers into seperate module and improve js parser performance 2015-11-30 13:31:26 +01:00
Ruben Bridgewater
f877c3950c Add prefix option
Fixes #323

Add key prefix tests

Add changelog entry for prefix
2015-11-24 00:23:18 +01:00
Paddy Byers
c74107c972 Add mention of tls option 2015-11-23 16:58:45 +01:00
Ruben Bridgewater
6711c94d1b Add duplicate function to duplicate the current client instance
Fixes #919
2015-11-23 11:32:23 +01:00
Ruben Bridgewater
ac9ff9a3b1 Refactor js parser
Fix tests to work with Node.js 0.10
Improve average use case speed by up to 20%
Fix some small js parser issues
2015-11-23 11:32:23 +01:00
Ruben Bridgewater
8712e32e62 Remove comment about reusing the same multi function. This is not supported anymore.
Fixes #923
2015-11-23 11:30:50 +01:00
Ruben Bridgewater
8f9ad00de2 Add the redis url to the options object and accept .createClient(null, host, options) 2015-11-23 11:30:50 +01:00
Ruben Bridgewater
06a1bdd7b0 Fix js parser handling big values not fast enough
Fixes #678
2015-11-23 11:30:35 +01:00
Ruben Bridgewater
8bf794fb36 Stricten tests by always ending redis with .end(true) if possible 2015-11-22 16:56:54 +01:00
Ruben Bridgewater
b4e8e79653 v.2.3.0 2015-10-30 15:01:06 +01:00