We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dad79f commit fb082d6Copy full SHA for fb082d6
lib/redis/RedisOptions.ts
@@ -213,7 +213,7 @@ export const DEFAULT_REDIS_OPTIONS: RedisOptions = {
213
// Connection
214
port: 6379,
215
host: "localhost",
216
- family: 4,
+ family: 0,
217
connectTimeout: 10000,
218
disconnectTimeout: 2000,
219
retryStrategy: function (times) {
test/unit/redis.ts
@@ -14,7 +14,7 @@ describe("Redis", () => {
14
option = getOption();
15
expect(option).to.have.property("port", 6379);
16
expect(option).to.have.property("host", "localhost");
17
- expect(option).to.have.property("family", 4);
+ expect(option).to.have.property("family", 0);
18
19
option = getOption(6380);
20
expect(option).to.have.property("port", 6380);
0 commit comments