1
0
mirror of https://github.com/redis/node-redis.git synced 2025-09-11 18:50:46 +03:00
Commit Graph

148 Commits

Author SHA1 Message Date
Ruben Bridgewater
ff857f97ae Intermediate fix js parser handling big values very slow
Closes #900
2015-11-08 23:05:15 +01:00
Anton Nesterov
3e64ce7bc3 Add regression test for return_buffers in pub/sub mode (#911) 2015-10-30 16:09:17 +03:00
Ruben Bridgewater
2cc01f52b6 Use higher time difference for slow machines in tests 2015-10-30 01:33:51 +01:00
Ruben Bridgewater
cc79b2db69 Deactivate test for windows 2015-10-30 01:16:11 +01:00
Ruben Bridgewater
dd563c2cb9 Fix unix only test not to run on windows 2015-10-30 00:09:16 +01:00
Ruben Bridgewater
b7a0f6f905 Add test. Closes #909 2015-10-29 23:49:10 +01:00
Ruben Bridgewater
88c9e28a27 Fix test 2015-10-29 23:27:52 +01:00
Ruben Bridgewater
d454e4025b Fix an issue with .multi after a reconnect on node 0.10
Add .path to .createClient options object for unix sockets
2015-10-29 23:23:20 +01:00
Ruben Bridgewater
7718e219e9 Remove listener if not needed anymore and alawys end a client after a test 2015-10-29 15:04:47 +01:00
Ruben Bridgewater
dc6fc9c113 Use connect_timeout also as the socket_timeout if explicitly provided
Fixes #587
Fixes #393
Closes #652
Closes #394
2015-10-29 14:21:06 +01:00
Ruben Bridgewater
afc4989495 Remove command queue high and low water marks 2015-10-28 23:53:10 +01:00
Ruben Bridgewater
d39f6961e6 Add tests and emit UNCERTAIN_STATE errors 2015-10-28 23:53:10 +01:00
Ruben Bridgewater
0ec2c43603 Fix fired but not yet returned commands not being rejected after a connection loss 2015-10-28 23:53:10 +01:00
Ruben Bridgewater
ebea0872a9 Add regression test 2015-10-28 23:53:10 +01:00
Ruben Bridgewater
399a29a97c Improve pipeline logic and fix #897 2015-10-28 23:53:10 +01:00
Ruben Bridgewater
1cb158b5da Add zscan test 2015-10-28 23:53:10 +01:00
Ruben Bridgewater
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
Ruben Bridgewater
304abe4318 Fix individual createClient functions passing undefined options to a new instance. Closes #893 2015-10-18 16:58:34 +02:00
Ruben Bridgewater
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
Ruben Bridgewater
0d4d4d7416 Fix multi not being executed on node 0.10 if not yet ready. Closes #889 2015-10-14 02:24:11 +02:00
Ruben Bridgewater
60e9d0fdd6 Fix multi regression. Closes #889
Allow commands being executed after a Multi / Batch was initiated but not yet executed
2015-10-14 00:58:27 +02:00
Ruben Bridgewater
06f57fd1d9 Add some more notes and tests 2015-10-12 17:21:58 +02:00
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
2015-10-12 08:26:46 +02:00
Ruben Bridgewater
ed2fc95444 Fix should_buffer return values and empty .batch and .auth return value being sync
Fix test
2015-10-11 03:38:41 +02:00
Ruben Bridgewater
76a2e31c9e Add return_buffers tests 2015-10-11 03:35:22 +02:00
Ruben Bridgewater
d59d6cf114 Add .batch tests 2015-10-11 03:35:22 +02:00
Ruben Bridgewater
f8c245e04f Add .batch with better pipeline implementation 2015-10-11 03:35:22 +02:00
Ruben Bridgewater
146d88154c Fix send_command always returning should_buffer boolean
Fix .auth, .select and .exec to return the should_buffer boolean
2015-10-11 03:35:22 +02:00
Ruben Bridgewater
e47ba4a583 Improve performance further 2015-10-11 03:35:21 +02:00
Ruben Bridgewater
2232a8948e Exchange queue with a better one 2015-10-11 03:33:52 +02:00
Ruben Bridgewater
e0b9f0de79 Fix race condition in tests 2015-10-11 03:31:45 +02:00
Ruben Bridgewater
8c0d11361a Merge pull request #887 from NodeRedis/rename-commands
Add rename_commands option

Closes #499
2015-10-10 19:41:16 +02:00
Ruben Bridgewater
90033bdd00 Fix some tests 2015-10-10 19:37:42 +02:00
Ruben Bridgewater
972d1cdeb4 Add rename_commands option 2015-10-10 05:49:51 +02:00
Ruben Bridgewater
987e4f8a7c Add hiredis to the tests if it's present 2015-10-10 02:17:31 +02:00
bcoe
b773119967 the monitor test should not be within the block of tests related to redis closing unexpectedly 2015-10-03 21:28:14 -07:00
bcoe
aad5045c8e use the max port # in newer versions of node 2015-10-03 21:13:18 -07:00
bcoe
0db1152492 tests were failing on my old mac (node 0.10.40, osx 10.9.5, 2.8.7) 2015-10-03 21:08:00 -07:00
Ruben Bridgewater
25113e6759 Fix test 2015-10-03 04:13:04 +02:00
Ruben Bridgewater
e8d9858e29 Add disable_resubscribingg option. Fixes #472 2015-10-02 23:28:59 +02:00
Ruben Bridgewater
2ca42417bf Fix explicitly passing undefined as callback 2015-10-02 20:20:56 +02:00
Ruben Bridgewater
977d4dba2b Add host and port to options object 2015-09-30 02:35:11 +02:00
Ruben Bridgewater
3c39a8bdfc Remove .only 2015-09-30 02:12:28 +02:00
Ruben Bridgewater
afcd760b18 Fix a test and add some more 2015-09-30 02:04:56 +02:00
Ruben Bridgewater
fba050802b Move command out of the index.js 2015-09-30 02:03:37 +02:00
Ruben Bridgewater
29b31f749a Add a better promise documentation and add some tests 2015-09-30 01:57:58 +02:00
Ruben Bridgewater
db8c6e3bc2 Skip test until the issue is fixed 2015-09-25 02:23:41 +02:00
Ruben Bridgewater
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
Ruben Bridgewater
bd4fca130d Make .end flush optional and add some tests 2015-09-24 13:27:32 +02:00
Ruben Bridgewater
38281c20b2 Fix small issues with hmset & multi constructor 2015-09-24 12:08:25 +02:00