moaxaca / async-redis

First class async & promise support for redis.
Other
168 stars 21 forks source link

Connect to localhost even when host/port is given #7

Closed jbdev420 closed 6 years ago

jbdev420 commented 6 years ago

When using the async library the createClient method ignores the host and port and connects to localhost

moaxaca commented 6 years ago

@jbdev420 I will look into this. For now, you can pass the variables through the URL string.

const asyncRedisClient = require("async-redis").createClient(redis://8.8.8.8:1111);

bikov commented 6 years ago

fixed in PR #8

moaxaca commented 6 years ago

@bikov @jbdev420 Release with v1.1.4.

NPM: https://www.npmjs.com/package/async-redis Github: https://github.com/moaxaca/async-redis/releases/tag/v1.1.4