Skip to content

Commit 19f4b1f

Browse files
committed
Remove outdated RedisConfiguration setup
1 parent fa3d12c commit 19f4b1f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Sources/App/configure.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,6 @@ public func configure(_ app: Application) async throws -> String {
7878
sqlLogLevel: .debug),
7979
as: .psql)
8080

81-
// Setup Redis connection
82-
do {
83-
app.redis.configuration = try RedisConfiguration(hostname: "redis")
84-
} catch {
85-
app.logger.warning("Failed to configure Redis, caching disabled. Error: \(error)")
86-
}
87-
8881
do { // Migration 001 - schema 1.0
8982
app.migrations.add(CreatePackage())
9083
app.migrations.add(CreateRepository())

0 commit comments

Comments
 (0)