Skip to content

Commit 3d4e01c

Browse files
committed
Merge branch 'develop' of github.com:NozeIO/swift-nio-redis into develop
2 parents 0d55e7e + 301af0f commit 3d4e01c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Redis/RedisClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ open class RedisClient : RedisCommandTarget {
416416

417417
state = .connecting
418418
retryInfo.attempt += 1
419-
return bootstrap.connect(host: "localhost", port: DefaultRedisPort)
419+
return bootstrap.connect(host: host, port: port)
420420
.map { channel in
421421
self.retryInfo.registerSuccessfulConnect()
422422

0 commit comments

Comments
 (0)