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 fb801ec commit 301af0fCopy full SHA for 301af0f
Sources/Redis/RedisClient.swift
@@ -416,7 +416,7 @@ open class RedisClient : RedisCommandTarget {
416
417
state = .connecting
418
retryInfo.attempt += 1
419
- return bootstrap.connect(host: "localhost", port: DefaultRedisPort)
+ return bootstrap.connect(host: host, port: port)
420
.map { channel in
421
self.retryInfo.registerSuccessfulConnect()
422
0 commit comments