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

1055 Commits

Author SHA1 Message Date
Ruben Bridgewater
352f8a5be3 Merge pull request #878 from NodeRedis/pipeline
node_redis on speed
2015-10-12 11:45:51 +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
7d2bb8edec Better pipelining
Add fallback mode
2015-10-11 03:37:42 +02:00
Ruben Bridgewater
9ee1e3c764 Add batch benchmarks 2015-10-11 03:35:22 +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
6d8daef599 Add changelog entry 2015-10-10 03:40:56 +02:00
Ruben Bridgewater
acddd02037 Merge pull request #886 from NodeRedis/fix-parser
Fix js parser regression.

Fixes #881 
Fixes #880 
Fixes #875
2015-10-10 03:39:49 +02:00
Ruben Bridgewater
987e4f8a7c Add hiredis to the tests if it's present 2015-10-10 02:17:31 +02:00
Ruben Bridgewater
0f43aa5294 Use msvs 2013 for appveyor to get the hiredis parser to work 2015-10-10 02:00:16 +02:00
Ruben Bridgewater
e951bfb177 Fix parser regression 2015-10-10 02:00:16 +02:00
Ruben Bridgewater
331ea59ca7 Improve the parser 2015-10-10 02:00:16 +02:00
Ruben Bridgewater
7922d4eb85 Small style changes 2015-10-07 16:34:41 +02:00
Benjamin E. Coe
2fc54ece57 Merge pull request #876 from NodeRedis/test-tweak
a couple tweaks to get the test suite running on my old MacBook
2015-10-04 18:26:00 -07: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
088b3f6996 Add release date v.2.1.0 2015-10-02 21:12:02 +02:00
Ruben Bridgewater
6bc61f7f30 v.2.1.0 2015-10-02 21:10:39 +02:00
Ruben Bridgewater
044db8ca06 Update the readme + changelog 2015-10-02 21:10:08 +02:00
Ruben Bridgewater
adee239645 Fix istanbul statement 2015-10-02 20:25:49 +02:00
Ruben Bridgewater
2744fe8650 Optimize statements and speed up the common case 2015-10-02 20:21:13 +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
025c65c614 Fix handling of missing info return value. Fixes #541 2015-09-30 02:09:01 +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
ff47dc3ce8 Improve multi bench
It will now print the total time elapsed and start a redis server if none is running and closes it afterwards again
2015-09-25 00:51:38 +02:00
Ruben Bridgewater
bd4fca130d Make .end flush optional and add some tests 2015-09-24 13:27:32 +02:00
Chris Breneman
4b100b8b64 Flush queue when .end() is called 2015-09-24 13:01:04 +02:00
Ruben Bridgewater
38281c20b2 Fix small issues with hmset & multi constructor 2015-09-24 12:08:25 +02:00
Ruben Bridgewater
f26b64d020 v.2.0.1 v.2.0.1 2015-09-24 00:54:54 +02:00
Ruben Bridgewater
7be7128b2b Arguments passed as arrays should not be mutated. Fixes #866 2015-09-24 00:31:55 +02:00
Ruben Bridgewater
f29193a7e0 Investigate failure 2015-09-21 22:37:56 +02:00
Ruben Bridgewater
07154fce25 Fix typo 2015-09-21 22:30:35 +02:00