Ruben Bridgewater
|
8f9ad00de2
|
Add the redis url to the options object and accept .createClient(null, host, options)
|
9 years ago |
Ruben Bridgewater
|
30d2184dbb
|
Throw on other protocols provided than the redis protocol
|
9 years ago |
Ruben Bridgewater
|
634dcee859
|
Only initiate the parser once per instance and throw sync if the parser can't be found
|
9 years ago |
Ruben Bridgewater
|
d3352bf550
|
Auto detect ip family if a IP has been provided
|
9 years ago |
Ruben Bridgewater
|
06a1bdd7b0
|
Fix js parser handling big values not fast enough
Fixes #678
|
9 years ago |
Ruben Bridgewater
|
8bf794fb36
|
Stricten tests by always ending redis with .end(true) if possible
|
9 years ago |
Ruben Bridgewater
|
431bed882b
|
Increase test timeout for appveyor
|
9 years ago |
Ruben Bridgewater
|
241e156499
|
Fix saving buffers with charsets other than utf-8 while using multi
This will also improve pipelinening for buffers and fixes the return value of Batch.exec
Fixes #913
|
9 years ago |
Ruben Bridgewater
|
19ce6680ef
|
Prevent jshint race condition
|
9 years ago |
Ruben Bridgewater
|
ff857f97ae
|
Intermediate fix js parser handling big values very slow
Closes #900
|
9 years ago |
Anton Nesterov
|
3e64ce7bc3
|
Add regression test for return_buffers in pub/sub mode (#911)
|
9 years ago |
Ruben Bridgewater
|
2cc01f52b6
|
Use higher time difference for slow machines in tests
|
9 years ago |
Ruben Bridgewater
|
cc79b2db69
|
Deactivate test for windows
|
9 years ago |
Ruben Bridgewater
|
dd563c2cb9
|
Fix unix only test not to run on windows
|
9 years ago |
Ruben Bridgewater
|
b7a0f6f905
|
Add test. Closes #909
|
9 years ago |
Ruben Bridgewater
|
88c9e28a27
|
Fix test
|
9 years ago |
Ruben Bridgewater
|
d454e4025b
|
Fix an issue with .multi after a reconnect on node 0.10
Add .path to .createClient options object for unix sockets
|
9 years ago |
Ruben Bridgewater
|
7718e219e9
|
Remove listener if not needed anymore and alawys end a client after a test
|
9 years ago |
Ruben Bridgewater
|
dc6fc9c113
|
Use connect_timeout also as the socket_timeout if explicitly provided
Fixes #587
Fixes #393
Closes #652
Closes #394
|
9 years ago |
Ruben Bridgewater
|
afc4989495
|
Remove command queue high and low water marks
|
9 years ago |
Ruben Bridgewater
|
d39f6961e6
|
Add tests and emit UNCERTAIN_STATE errors
|
9 years ago |
Ruben Bridgewater
|
0ec2c43603
|
Fix fired but not yet returned commands not being rejected after a connection loss
|
9 years ago |
Ruben Bridgewater
|
ebea0872a9
|
Add regression test
|
9 years ago |
Ruben Bridgewater
|
399a29a97c
|
Improve pipeline logic and fix #897
|
9 years ago |
Ruben Bridgewater
|
1cb158b5da
|
Add zscan test
|
9 years ago |
Ruben Bridgewater
|
5d08132f7c
|
Fix: do not stop parsing a chunk if the first character is a line break
Add changelog entry
|
9 years ago |
Ruben Bridgewater
|
304abe4318
|
Fix individual createClient functions passing undefined options to a new instance. Closes #893
|
9 years ago |
Ruben Bridgewater
|
2a65ee48dd
|
Fix some minor issues and add more tests
Do not mutate the options object and add some more tests
|
9 years ago |
Ruben Bridgewater
|
0d4d4d7416
|
Fix multi not being executed on node 0.10 if not yet ready. Closes #889
|
9 years ago |
Ruben Bridgewater
|
60e9d0fdd6
|
Fix multi regression. Closes #889
Allow commands being executed after a Multi / Batch was initiated but not yet executed
|
9 years ago |
Ruben Bridgewater
|
06f57fd1d9
|
Add some more notes and tests
|
9 years ago |
Ruben Bridgewater
|
f0e28bf0f7
|
Minor improvement for .batch and .multi for small values
Improve the speed by round about 5% for small values
Add Multi.exec_atomic
|
9 years ago |
Ruben Bridgewater
|
ed2fc95444
|
Fix should_buffer return values and empty .batch and .auth return value being sync
Fix test
|
9 years ago |
Ruben Bridgewater
|
76a2e31c9e
|
Add return_buffers tests
|
9 years ago |
Ruben Bridgewater
|
d59d6cf114
|
Add .batch tests
|
9 years ago |
Ruben Bridgewater
|
f8c245e04f
|
Add .batch with better pipeline implementation
|
9 years ago |
Ruben Bridgewater
|
146d88154c
|
Fix send_command always returning should_buffer boolean
Fix .auth, .select and .exec to return the should_buffer boolean
|
9 years ago |
Ruben Bridgewater
|
e47ba4a583
|
Improve performance further
|
9 years ago |
Ruben Bridgewater
|
2232a8948e
|
Exchange queue with a better one
|
9 years ago |
Ruben Bridgewater
|
e0b9f0de79
|
Fix race condition in tests
|
9 years ago |
Ruben Bridgewater
|
90033bdd00
|
Fix some tests
|
9 years ago |
Ruben Bridgewater
|
972d1cdeb4
|
Add rename_commands option
|
9 years ago |
Ruben Bridgewater
|
987e4f8a7c
|
Add hiredis to the tests if it's present
|
9 years ago |
bcoe
|
b773119967
|
the monitor test should not be within the block of tests related to redis closing unexpectedly
|
9 years ago |
bcoe
|
aad5045c8e
|
use the max port # in newer versions of node
|
9 years ago |
bcoe
|
0db1152492
|
tests were failing on my old mac (node 0.10.40, osx 10.9.5, 2.8.7)
|
9 years ago |
Ruben Bridgewater
|
25113e6759
|
Fix test
|
9 years ago |
Ruben Bridgewater
|
e8d9858e29
|
Add disable_resubscribingg option. Fixes #472
|
9 years ago |
Ruben Bridgewater
|
2ca42417bf
|
Fix explicitly passing undefined as callback
|
9 years ago |
Ruben Bridgewater
|
977d4dba2b
|
Add host and port to options object
|
9 years ago |