We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 739d237 commit d1247faCopy full SHA for d1247fa
Examples/ServiceLifeCycle/Sources/Lambda.swift
@@ -37,7 +37,8 @@ struct LambdaFunction {
37
38
do {
39
// Use initialized service within the handler
40
- // IMPORTANT - CURRENTLY WHEN THERE IS AN ERROR, THIS CALL HANGS !!!
+ // IMPORTANT - CURRENTLY WHEN THERE IS AN ERROR, THIS CALL HANGS WHEN DB IS NOT REACHABLE
41
+ // https://github.com/vapor/postgres-nio/issues/489
42
let rows = try await pgClient.query("SELECT id, username FROM users")
43
for try await (id, username) in rows.decode((Int, String).self) {
44
logger.debug("\(id) : \(username)")
0 commit comments