Skip to content

Commit d1247fa

Browse files
committed
add link to postgres-nio issue
1 parent 739d237 commit d1247fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Examples/ServiceLifeCycle/Sources/Lambda.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ struct LambdaFunction {
3737

3838
do {
3939
// Use initialized service within the handler
40-
// IMPORTANT - CURRENTLY WHEN THERE IS AN ERROR, THIS CALL HANGS !!!
40+
// IMPORTANT - CURRENTLY WHEN THERE IS AN ERROR, THIS CALL HANGS WHEN DB IS NOT REACHABLE
41+
// https://github.com/vapor/postgres-nio/issues/489
4142
let rows = try await pgClient.query("SELECT id, username FROM users")
4243
for try await (id, username) in rows.decode((Int, String).self) {
4344
logger.debug("\(id) : \(username)")

0 commit comments

Comments
 (0)