Ruben Bridgewater
6958c1854b
Increase the coverage by adding tests and fix a failing ready check
9 years ago
Ruben Bridgewater
6975b0723d
Add benchmark task to npm
9 years ago
Ruben Bridgewater
21d40717ab
Run travis without sudo
9 years ago
Ruben Bridgewater
1cbf19ddf5
Hotfix for older node versions
9 years ago
Ruben Bridgewater
c60a3b65fe
Rename .command_used to .command and add the used command to more errors
9 years ago
Ruben Bridgewater
1f121fa6e2
Fix error messages being manipulated. Fixes #695
9 years ago
Ruben Bridgewater
91955af389
Update dev dependencies
9 years ago
Ruben Bridgewater
43d1efb9dd
Merge pull request #862 from fintura/remove_stuff
Remove very old benchmark files
9 years ago
Ruben Bridgewater
4fa9169f47
Remove very old benchmarks that do not really work anymore are obsolet and rename "benches" to "benchmarks"
This is also going move the multi_bench benchmark into the benchmarks folder
9 years ago
Ruben Bridgewater
6a5e011a4b
Merge pull request #858 from fintura/codes
Add redis error codes to the errors returned by the parser. Fixes #538
9 years ago
Ruben Bridgewater
959b0ee093
Fix error codes for multi.exec and add more tests
9 years ago
Ruben Bridgewater
2293f7ff85
Add some more tests
9 years ago
Ruben Bridgewater
40c037eaf4
Add redis error codes to the errors
9 years ago
Ruben Bridgewater
7e689253f9
Merge pull request #852 from fintura/parser-fix
Don't catch callback errors with the parser; fix a parser regression; remove dead code
9 years ago
Ruben Bridgewater
083e446d23
Fix parser regression. Out of memory resulted in an endless loop
9 years ago
Ruben Bridgewater
26e5764214
Remove broken test
9 years ago
Ruben Bridgewater
5a2b54fd2f
Remove dead code from js parser
9 years ago
Ruben Bridgewater
f543d45d1f
Fix and add more tests
9 years ago
Ruben Bridgewater
621c511229
Return parser data async
9 years ago
Ruben Bridgewater
feb528a0d8
Merge pull request #861 from frewsxcv/patch-1
Remove unnecessary line from example
9 years ago
Corey Farwell
a159412b02
Remove unnecessary line from example
This line doesn't seem necessary nor relevant to this example
9 years ago
Ruben Bridgewater
1b8201e542
Merge pull request #856 from cvibhagool/patch-1
Fixed typo in README.md
9 years ago
Ben Vibhagool
2c67ce528e
Fixed typo in README.md
9 years ago
pbihler
97db227a8d
Fix for channel names with spaces. Fixes #691
Channel names with spaces were not properly resubscribed after a reconnection.
Conflicts:
index.js
10 years ago
Ruben Bridgewater
b35a685c27
Merge pull request #855 from fintura/info
Improve server keyspace info in .server_info. Closing #610 . Thx to @SinisterLight
9 years ago
Ruben Bridgewater
28f31f134c
Improve server keyspace info in .server_info
9 years ago
Ruben Bridgewater
a6357d672a
Merge pull request #854 from fintura/memory-leak
Fix memory leak. See #723 and thx to @rahar
9 years ago
Ruben Bridgewater
46e2dc2de5
Fix memory leak. See #723 and thx to @rahar
9 years ago
Ruben Bridgewater
c846ed71d1
Merge pull request #826 from fintura/multi
Fix multi error handling
9 years ago
Ruben Bridgewater
4d1390318c
Merge pull request #853 from fintura/eval
Remove bad .eval implementation
9 years ago
Ruben Bridgewater
2578aba079
Merge pull request #848 from fintura/new_auth
Fix auth callback being called more than once
9 years ago
Ruben Bridgewater
d61d97e24e
Fix .auth not working properly
The arguments parameter was faulty andthe callback could have been triggered twice
9 years ago
Ruben Bridgewater
8b7d4a8449
Remove bad .eval implementation
The implementation is not really good as mentioned in #722 and we pipline our commands.
That way we can't just replace the eval function as it was. This could result in violating the order of execution!
If we want to include a function like this we should not break the order of execution and also not recalculate the sha1 hash each time.
9 years ago
Ruben Bridgewater
21d8bdbbcb
Refactor multi to have a consistent error handling
Ignore *.log files
9 years ago
Ruben Bridgewater
13635c9c8c
Merge pull request #840 from fintura/refactor-exec
This fixes two TODOs in combination with exec
9 years ago
Ruben Bridgewater
9e2c665d5c
Refactor exec
9 years ago
Ruben Bridgewater
95a2c373a2
Fix broken build. The merge had a small conflict
9 years ago
Ruben Bridgewater
f92f4d0df9
Merge pull request #850 from fintura/fix-late-commands
Fix commands not being rejected after calling .quit
Fixes #791
9 years ago
Ruben Bridgewater
bfcc0ae263
Merge pull request #843 from fintura/reduce-timeout
Reduce the reauthenticate timeout to 333ms
9 years ago
Ruben Bridgewater
57b5c7f76f
Merge pull request #829 from fintura/broken-mode
Implement redis connection broken mode and more shiny things
Fixes #569
Fixes #587
Fixes #566
Fixes #586
Fixes #280
This includes the fixes as suggested in #671 , #615 and #533 . Thx a lot to @qdb , @tobek and @chrishamant
Closes #675 , #463 , #362 , #438 and #724
9 years ago
Ruben Bridgewater
a0c906256c
Fix commands not being rejected after calling .quit as reported in #791
9 years ago
Ruben Bridgewater
89c8dd056b
Do not emit the broken mode twice if exec is called
Add more tests
9 years ago
Ruben Bridgewater
30ec1cd6a2
shift in the while loop
9 years ago
Ruben Bridgewater
55d0036eae
Add test and fix keeping the offline queue
Use a new delay after reconnecting
9 years ago
Ruben Bridgewater
3c2ba8c373
Try exactly until the connection timeout has been reached
Fixes #587
9 years ago
Chris Hamant
a9e7663aff
removing flush_and_error from on_error handler
11 years ago
Ruben Bridgewater
03e8c03503
Add connection timeout and max attempts tests
9 years ago
Ruben Bridgewater
0b8705abe9
Do not run all tests with every single connection (if one connection works, the others are going to be fine too)
9 years ago
Ruben Bridgewater
1e0421ac3b
Emit errors if the connection timeout / maximum retry attempts have been exceeded
Accept setting max_attempts to zero.
The reconnection event is now emitted when trying to reconnect instead of earlier.
The connection timeout is now going to trigger once after exceeding the maximum timeout instead of stopping earlier.
9 years ago
Ruben Bridgewater
f2ee8dbc9e
Add a connection timeout of 24h as new default for maximum reconnecting
9 years ago