1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00
Commit Graph

2142 Commits

Author SHA1 Message Date
Benjamin Coe
06d051ea1d had a bad URL to test coverage 2015-07-11 19:45:05 -07:00
Benjamin E. Coe
131f92b866 Merge pull request #776 from NodeRedis/test-tweaks
various fixes to tests, along with groundwork for adding travis and coveralls support
2015-07-11 19:41:21 -07:00
Benjamin Coe
96da40719d badges \o/ 2015-07-11 19:35:39 -07:00
Benjamin Coe
8ca45e3f1f loose socket perms 2015-07-11 19:35:38 -07:00
Benjamin Coe
7657fdbfb6 daemonize sure 2015-07-11 19:35:38 -07:00
Benjamin Coe
e17228a365 enable sudo 2015-07-11 19:35:38 -07:00
Benjamin Coe
f4e1e2ce6d getting redis configured 2015-07-11 19:35:38 -07:00
Benjamin Coe
116a27a120 update changelog, force travis build 2015-07-11 19:35:38 -07:00
Benjamin Coe
d30e80abbe making an attempt to improve the test suite 2015-07-11 19:35:38 -07:00
Erin Spiceland
b92a62d643 Merge pull request #658 from kuwabarahiroshi/features/add-url-support-to-createClient
added URL support to createClient
2015-07-11 21:32:45 -05:00
Jeremiah Lee Cohick
ff020d37f3 Clarified COUNT's behavior. scan() now will run until cursor reaches 0. 2015-07-10 18:04:38 -07:00
Raymond Myers
9b02ae61b8 Merge pull request #758 from bcoe/coverage
adds coverage reporting using nyc bin
2015-07-10 17:46:43 -07:00
Raymond Myers
e2e790bca0 Merge pull request #746 from kemitchell/spdx-license
Use a Standard-Compliant License Identifier
2015-07-10 17:03:40 -07:00
Jeremiah Lee Cohick
6f28c6acf5 Cursor should be a string 2015-07-10 16:25:52 -07:00
Jeremiah Lee Cohick
010a2acf33 Added example of a Redis SCAN command 2015-07-10 16:10:00 -07:00
Matt Ranney
eb03bb943c Update README and multi_bench 2015-07-10 17:25:17 -04:00
David Vas
6af443639e A little optimization in a function if the client is closing. 2015-06-11 16:19:47 +02:00
vitaliylag
11735099d6 Update index.js
It was almost bug: imagine args is array but callback is not defined - in this case all args (that is consists of one array) are packing to new array. That mean we get this: this.send_command(command, [[...]]). It doesn't make any sense.

After I fix it we get this: this.send_command(command, [...], undefined). It's really ok because if we call for example client.hget("test", "aaa") we actually do the same: this.send_command("hget", ["test", "aaa"], undefined). No different from this.send_command(command, [...], undefined).

By the way, «this.send_command(command, [[...]])» could be a bug. Try to call client.eval(["return 1", 0]) and you should get throw because "eval" required 2 param, but program thinks it's only one param: ["return 1", 0] (at the beginning it was [["return 1", 0]]). There's only one reason why you don't get throw - RedisClient.prototype.eval is overridden for some optimizations, lucky. But that doesn't mean everything is ok.
2015-05-28 14:50:46 +03:00
Benjamin Coe
06b294c630 add coverage reporting 2015-05-25 16:25:47 -07:00
Jonas Dohse
3b6ab9e820 Allow garbage collection of processed queue items
Set processed queue items to `null` to allow garbage collection of these
items. The command queue contains callbacks. They contain the stack of
the current fiber, which can be large. Allow earlier garbage collection
of these stacks by removing the reference to the queue items.
2015-05-17 19:06:30 +00:00
Kyle Mitchell
13162e554b use a valid SPDX license identifier 2015-05-05 00:03:36 +00:00
Almog Melamed
9c0462f177 Update changelog.md typo handlign -> handling 2015-04-11 19:29:34 +03:00
Bryce Baril
a2ebe4f248 Update changelog 2015-03-01 00:05:33 -08:00
Bryce Baril
430e5fd958 Merge branch 'kmyr-fwd-errors-stop-listening' 2015-03-01 00:04:09 -08:00
Mikael Kohlmyr
e0860a28ed Removed potential side effects of FWD_ERRORS_1 (e.g. printing of indocming on pub/sub re-use of client3) 2015-02-28 22:22:08 +00:00
Matt Ranney
25cd3ce3d9 Merge pull request #716 from davemun/master
Fixed missing word in README.md
2015-02-24 21:11:07 -08:00
Dave Mun
67be3db6ce Update README.md
Fixed missing word.
2015-02-24 09:00:55 -08:00
Jason Kim
b63863ed35 Removed unnecessary indentations and added some js syntax highlighting 2015-01-13 10:46:30 -08:00
Hiroshi Kuwabara
a67d3acdd6 added URL support to createClient 2014-09-12 12:37:32 +09:00
Bryce Baril
de6692774f Update changelog for 0.12.1 2014-08-11 10:35:40 -07:00
Bryce Baril
38ae7a7f50 0.12.1 v0.12.1 2014-08-11 10:34:26 -07:00
Bryce Baril
75b0bc97ea Fix #645 2014-08-11 10:33:33 -07:00
Bryce Baril
84cfcb40b2 0.12.0 v0.12.0 2014-08-09 14:53:08 -07:00
Bryce Baril
58959b89ac Update changelog 2014-08-09 14:53:03 -07:00
Bryce Baril
829ab228f0 Merge branch 'jackhftang-master' 2014-08-09 14:51:16 -07:00
Bryce Baril
ba234edfef Fix tests for older versions of Redis. 2014-08-09 14:50:14 -07:00
Jack Tang
5e1cebee5e fix the example in createClient 2014-08-07 17:39:04 +08:00
Jack Tang
2a768f36b6 updated readme of the createClient() part 2014-08-07 17:35:01 +08:00
Jack Tang
064260d1c5 improve the interface to better support unix socket.
delete client.host
delete client.port
add client.address
add client.connectionOptions

add tests.UNIX_SOCKET

update all error message to use client.address
update retry connection
2014-08-07 17:19:37 +08:00
Bryce Baril
d25d12eee7 0.11.0 v0.11.0 2014-07-10 22:03:38 -07:00
Bryce Baril
e00fbb4a45 update changelog 2014-07-10 22:03:28 -07:00
Bryce Baril
1d27976d6c Merge branch 'migounette-master' 2014-07-10 22:01:57 -07:00
Bryce Baril
2e3cb99011 Merge branch 'master' of https://github.com/migounette/node_redis into migounette-master 2014-07-10 22:01:34 -07:00
Bryce Baril
4148a9b0df repair test 2014-07-10 21:59:43 -07:00
Bryce Baril
08a8eed111 Revert "Client to emit errors now instead of throwing them asynchronously where they're uncatchable."
This reverts commit 6a3ccf64f4.
2014-07-10 21:28:48 -07:00
Bryce Baril
a8403a0110 update changelog 2014-07-10 21:23:44 -07:00
Bryce Baril
8b5d55fecd Set socket_keepalive to default to true 2014-07-10 21:18:47 -07:00
Bryce Baril
4e24f24e86 Merge branch 'Clever-set-keepalive' 2014-07-10 21:17:06 -07:00
Bryce Baril
b9219a0fb2 Merge branch 'set-keepalive' of https://github.com/Clever/node_redis into Clever-set-keepalive 2014-07-10 21:16:38 -07:00
Bryce Baril
f7134a6f2c update changelog 2014-07-10 21:15:47 -07:00