Skip to content

Commit fa5edc5

Browse files
committed
Add comment regarding hostname
1 parent e2a04da commit fa5edc5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/App/Core/Dependencies/RedisClient.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ private actor Redis {
101101
self.client = try await connection.get()
102102
}
103103

104+
// This hostname has to match the redir service name in app.yml.
104105
static let hostname = "redis"
105106
static let maxConnectionAttempts = 3
106107

0 commit comments

Comments
 (0)