1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-01 16:46:54 +03:00
Commit Graph

94 Commits

Author SHA1 Message Date
14170f9d02 Improve tests a bit
Reduce timeouts if possible
Extend timeouts if needed (windows tests need their time)
Don't expose the redis socket to others than the owner
Don't create the stunnel log
2016-04-01 11:42:22 +02:00
3fd865bbb3 Move the exposed and documented api into a separate file 2016-03-31 19:23:46 +02:00
861749f4d6 Fix send_command working with hooked internal functions 2016-03-31 19:23:46 +02:00
48481552c9 Calling quit should always close the connection 2016-03-27 05:18:38 +02:00
94e9f1fcfc Replace jshint with eslint and add lots of rules
Fix eslint errors accordingly
2016-03-26 14:45:12 +01:00
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
344291a98a Fix monitoring mode 2016-03-25 16:09:20 +01:00
359820c766 Support redis 2.4 info command
Fixes #1008
2016-03-16 23:50:29 +01:00
eb9500bb9f Fix redis 2.4 auth support 2016-03-16 23:15:21 +01:00
24e7486a5a Fix forgotten optional info section
Fixes #1003
2016-03-15 09:59:09 +01:00
5e8a87b4dc Improve createClient function to detect faulty input and throw 2016-03-07 01:57:56 +01:00
290bf1d651 Small utils improvements
Don't write "Error:" infront of errors
2016-03-07 01:57:56 +01:00
614e35ab57 Move multi; commands; createClient code into separate files 2016-03-07 01:57:56 +01:00
518e46dcc7 Use a own clone function instead of using JSON.parse(JSON.stringify())
This will also clone functions
2016-03-01 17:59:16 +01:00
8dcf06754d Add warnings and handle protocol errors gracefuly 2016-03-01 17:59:16 +01:00
3514a32825 Remove unused function from utils 2015-12-31 06:00:20 +01:00
e89bcec1c2 Deprecate and warn on null / undefined arguments 2015-12-30 16:18:17 +01:00
16a1d69c82 Move parsers into seperate module and improve js parser performance 2015-11-30 13:31:26 +01:00
56861a89d2 Escape js parser protocol error characters 2015-11-27 21:40:32 +01:00
3f945dbf3e Fix parser regression
Add regression test
Rename big_offset to big_str_size

Fixes #924
2015-11-25 23:32:40 +01:00
f877c3950c Add prefix option
Fixes #323

Add key prefix tests

Add changelog entry for prefix
2015-11-24 00:23:18 +01:00
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
bc85c4a01d Minor hiredis handling improvement 2015-11-23 11:30:50 +01:00
06a1bdd7b0 Fix js parser handling big values not fast enough
Fixes #678
2015-11-23 11:30:35 +01:00
ff857f97ae Intermediate fix js parser handling big values very slow
Closes #900
2015-11-08 23:05:15 +01:00
5d08132f7c Fix: do not stop parsing a chunk if the first character is a line break
Add changelog entry
2015-10-27 11:28:03 +01:00
9b3b090119 Simplify parser and remove dead code 2015-10-27 11:27:54 +01:00
2a65ee48dd Fix some minor issues and add more tests
Do not mutate the options object and add some more tests
2015-10-17 21:56:16 +02:00
e47ba4a583 Improve performance further 2015-10-11 03:35:21 +02:00
2232a8948e Exchange queue with a better one 2015-10-11 03:33:52 +02:00
e951bfb177 Fix parser regression 2015-10-10 02:00:16 +02:00
331ea59ca7 Improve the parser 2015-10-10 02:00:16 +02:00
7922d4eb85 Small style changes 2015-10-07 16:34:41 +02:00
2744fe8650 Optimize statements and speed up the common case 2015-10-02 20:21:13 +02:00
fba050802b Move command out of the index.js 2015-09-30 02:03:37 +02:00
5f261c5823 Minor changes
Move utility functions in lib/utils.js
Improve the js parser in cases the buffer is incomplete
Rename lib/parser to lib/parsers

Fix smaller issues with test suite and fix parser errors not being catched

Fixed wrong test for the new .end flush parameter
Fixed test suite options being partly mutated
Add some more tests
2015-09-25 02:12:48 +02:00
b900bd697f Some small parser changes
The small_to_string was actually quite slow
2015-09-21 02:40:07 +02:00
083e446d23 Fix parser regression. Out of memory resulted in an endless loop 2015-09-19 17:48:25 +02:00
5a2b54fd2f Remove dead code from js parser 2015-09-19 17:48:25 +02:00
013831c00f Improve js parser 2015-09-15 23:18:26 +02:00
b06985a219 Update commands list and remove unecessary code
Add use strict

Add changelog entry
2015-09-12 19:47:25 +02:00
b63e980913 Merge pull request #825 from fintura/emitter
Remove event emitters from the parsers
2015-09-12 19:15:38 +02:00
a31a4e29e9 Merge pull request #819 from NodeRedis/815-tweaks
minor tweaks to how we spawn tests in #815
2015-09-11 21:40:48 -07:00
0170145f74 Remove event emitters from the parser as they are overhead that is not needed 2015-09-05 17:10:27 +02:00
bd5cc64652 Merge pull request #752 from dohse/fix-queue-leak
Allow garbage collection of processed queue items
2015-09-04 05:23:35 +02:00
89e1f6f067 Improve code coverage by adding tests and removing unnecessary code 2015-09-03 22:26:01 +02:00
19db6d1dad Remove lib/util.js 2015-09-02 22:13:07 +02:00
52db91c753 Fix js parser sending non-Errors 2015-09-02 22:13:07 +02:00
1eb30add66 Use util.debuglog instead of using different indidivudal styles for debugging 2015-09-02 21:49:11 +02:00
4aeaf0e6b9 Remove dead code 2015-09-02 18:32:23 +02:00