1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-01 16:46:54 +03:00
Commit Graph

31 Commits

Author SHA1 Message Date
d7c31da598 chore: add callback functionality back in
This also improves the performance for multi / batch commands a lot.
The reason is that now there are only callbacks internally even if
a promise is going to be returned in the end.
2017-11-29 19:16:40 -02:00
2b4ab10305 chore - remove standard and use individual config
Standard is not as up to date and still uses a old eslint version.
Instead, use the airbnb default with a couple of modifications.

All required changes are included.
2017-11-28 21:38:21 -02:00
581d4a29f3 chore: improve coverage further 2017-05-30 07:28:43 +02:00
b6c317dbb0 chore: improve coverage 2017-05-30 06:45:28 +02:00
0276e15f04 chore: add print helper again and refactor some code
Expose the RedisClient directly instead of only being a property
2017-05-29 18:23:24 +02:00
b2e18344d9 chore: mark private variables as such and remove obsolete ones 2017-05-28 07:15:20 +02:00
5fef7e246d chore: refactor client to es6 class and sort requires 2017-05-28 05:43:34 +02:00
0d53d3dcdf feat: add auto pipeline 2017-05-28 05:23:19 +02:00
8da9e98fe6 chore: refactor flush and error 2017-05-28 01:45:18 +02:00
1f179ef791 chore: refactor main code base into smaller parts 2017-05-26 23:34:28 +02:00
a3a74559da chore: improve multi performance by refactoring a array check away 2017-05-26 18:17:26 +02:00
6794478066 chore: remove let due to performance reasons 2017-05-26 18:17:26 +02:00
cd8f2d27c1 chore: use es6 for multi 2017-05-26 12:32:05 +02:00
54671f6c52 chore: use arrow functions 2017-05-26 12:32:04 +02:00
4d103b4aee chore: update dependencies 2017-05-26 10:27:17 +02:00
6be5575c5b chore: refactor codebase to promises 2017-05-19 06:14:29 +02:00
b2613b2270 test fixup 2017-05-06 08:16:19 +02:00
f1a7bcd735 chore: use standard 2017-05-06 07:06:52 +02:00
19f3d20b47 chore: remove support for UPPER_CASE commands 2017-05-06 01:49:48 +02:00
28afc33c9a Remove snack_case and always use camelCase 2017-05-06 01:49:05 +02:00
de0a9628aa Fire the individual original callbacks when using transactions
Fixes #1089
2016-06-16 12:29:00 +02:00
8b6f2dd35e Refactor command parsing 2016-05-29 01:38:34 +02:00
bf394923fd Use built-in error classes to make errors more specific 2016-04-29 04:10:24 +02:00
eae16938cd Add monitor transaction warning / error 2016-04-29 04:10:23 +02:00
a857829a36 Improve error handling
Arguments are now passed to an command error in case they exist
An error is only emitted if that very same error is not already handled in a callback
2016-04-29 04:10:23 +02:00
0424cb0bf3 Move pub sub command into individual commands and use call_on_write 2016-04-29 04:10:23 +02:00
683815de9d Refactor pipelining 2016-04-29 04:10:23 +02:00
d2b8f2f391 Add support for camelCase
Fixes missing `EXEC_BATCH` on multi
2016-04-29 04:10:23 +02:00
861749f4d6 Fix send_command working with hooked internal functions 2016-03-31 19:23:46 +02:00
94e9f1fcfc Replace jshint with eslint and add lots of rules
Fix eslint errors accordingly
2016-03-26 14:45:12 +01:00
614e35ab57 Move multi; commands; createClient code into separate files 2016-03-07 01:57:56 +01:00