Skip to content

Commit 22b89c5

Browse files
committed
swift format
1 parent d608d8d commit 22b89c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/JobsPostgres/PostgresJobsQueue.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import PostgresNIO
4343
/// }
4444
/// ```
4545
public final class PostgresJobQueue: JobQueueDriver, CancellableJobQueue, ResumableJobQueue {
46-
46+
4747
public typealias JobID = UUID
4848
/// what to do with failed/processing jobs from last time queue was handled
4949
public enum JobCleanup: Sendable {
@@ -484,7 +484,7 @@ public final class PostgresJobQueue: JobQueueDriver, CancellableJobQueue, Resuma
484484
logger: self.logger
485485
)
486486
}
487-
487+
488488
func deleteFromQueue(jobID: JobID, connection: PostgresConnection) async throws {
489489
try await connection.query(
490490
"""

Tests/JobsPostgresTests/JobsTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ final class JobsTests: XCTestCase {
794794
XCTAssertEqual(cancelledJobs.count, 1)
795795

796796
await serviceGroup.triggerGracefulShutdown()
797-
797+
798798
try await jobQueue.queue.delete(jobID: cancellableJob)
799799
}
800800
}

0 commit comments

Comments
 (0)