Ruben Bridgewater
ff857f97ae
Intermediate fix js parser handling big values very slow
...
Closes #900
2015-11-08 23:05:15 +01:00
Ruben Bridgewater
c08461f781
Fix typo in debug message
2015-11-06 20:25:46 +01:00
Ruben Bridgewater
ef238143e9
Fix typo in string conversion. Closes #918
2015-11-06 20:13:12 +01:00
Ruben Bridgewater
42e979b1af
Add changelog entry and add a note in the readme that detect_buffers does not work in pub sub mode
2015-10-30 14:56:30 +01:00
Anton Nesterov
cc93e0b3a7
Fix return_buffers in pub/sub mode ( #911 )
2015-10-30 16:08:28 +03:00
Ruben Bridgewater
f45a898871
Remove istanbul ignore statement
2015-10-29 23:51:02 +01:00
ivanB1975
1293046bab
changed style
2015-10-29 23:42:02 +01:00
ivanB1975
b3407ff8c7
ignore if info command is not available on server
2015-10-29 23:42:02 +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
4e5e4635aa
Use debug statement for incoming data
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
399a29a97c
Improve pipeline logic and fix #897
2015-10-28 23:53:10 +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
587b1c95a0
v.2.2.3
2015-10-14 02:52:32 +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
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
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
972d1cdeb4
Add rename_commands option
2015-10-10 05:49:51 +02:00
Ruben Bridgewater
7922d4eb85
Small style changes
2015-10-07 16:34:41 +02:00
Ruben Bridgewater
e8d9858e29
Add disable_resubscribingg option. Fixes #472
2015-10-02 23:28:59 +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
025c65c614
Fix handling of missing info return value. Fixes #541
2015-09-30 02:09:01 +02:00
Ruben Bridgewater
fba050802b
Move command out of the index.js
2015-09-30 02:03:37 +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
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
7be7128b2b
Arguments passed as arrays should not be mutated. Fixes #866
2015-09-24 00:31:55 +02:00
Ruben Bridgewater
715c09dbd2
v.2.0.0
2015-09-21 21:56:41 +02:00
Ruben Bridgewater
55e4a9b847
Fix issues with returning buffers
...
Fixes #818 and #354
2015-09-21 03:07:55 +02:00
Ruben Bridgewater
b900bd697f
Some small parser changes
...
The small_to_string was actually quite slow
2015-09-21 02:40:07 +02:00
Ruben Bridgewater
6958c1854b
Increase the coverage by adding tests and fix a failing ready check
2015-09-21 02:38:27 +02:00
Ruben Bridgewater
c60a3b65fe
Rename .command_used to .command and add the used command to more errors
2015-09-20 18:56:21 +02:00
Ruben Bridgewater
1f121fa6e2
Fix error messages being manipulated. Fixes #695
2015-09-20 18:53:57 +02:00
Ruben Bridgewater
959b0ee093
Fix error codes for multi.exec and add more tests
2015-09-19 18:26:44 +02:00
Ruben Bridgewater
2293f7ff85
Add some more tests
2015-09-19 18:17:40 +02:00