Skip to content

Commit

Permalink
Avoid double-logging queries (#71)
Browse files Browse the repository at this point in the history
This logging is handled in SQLiteKit and should not be present at the SQLiteNIO layer.
  • Loading branch information
gwynne authored May 28, 2024
1 parent fbdc327 commit 1b03daf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/SQLiteNIO/SQLiteConnection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ public final class SQLiteConnection: SQLiteDatabase, Sendable {
logger: Logger,
_ onRow: @escaping @Sendable (SQLiteRow) -> Void
) -> EventLoopFuture<Void> {
logger.debug("\(query) \(binds)")
let promise = self.eventLoop.makePromise(of: Void.self)
self.threadPool.submit {
guard case $0 = NIOThreadPool.WorkItemState.active else {
Expand Down

0 comments on commit 1b03daf

Please sign in to comment.