@@ -273,13 +273,13 @@ public final class PostgresJobQueue: JobQueueDriver, CancellableJobQueue, Resuma
273
273
/// Register job
274
274
/// - Parameters:
275
275
/// - job: Job Definition
276
- public func registerJob< Parameters: JobParameters > ( _ job: JobDefinition < Parameters > ) {
276
+ public func registerJob< Parameters> ( _ job: JobDefinition < Parameters > ) {
277
277
self . jobRegistry. registerJob ( job)
278
278
}
279
279
280
280
/// Push Job onto queue
281
281
/// - Returns: Identifier of queued job
282
- @discardableResult public func push< Parameters: JobParameters > ( _ jobRequest: JobRequest < Parameters > , options: JobOptions ) async throws -> JobID {
282
+ @discardableResult public func push< Parameters> ( _ jobRequest: JobRequest < Parameters > , options: JobOptions ) async throws -> JobID {
283
283
let jobID = JobID ( )
284
284
try await self . client. withTransaction ( logger: self . logger) { connection in
285
285
try await self . add ( jobID: jobID, jobRequest: jobRequest, queueName: configuration. queueName, connection: connection)
@@ -293,7 +293,7 @@ public final class PostgresJobQueue: JobQueueDriver, CancellableJobQueue, Resuma
293
293
/// - id: Job instance ID
294
294
/// - jobRequest: Job Request
295
295
/// - options: Job retry options
296
- public func retry< Parameters: JobParameters > ( _ id: JobID , jobRequest: JobRequest < Parameters > , options: JobRetryOptions ) async throws {
296
+ public func retry< Parameters> ( _ id: JobID , jobRequest: JobRequest < Parameters > , options: JobRetryOptions ) async throws {
297
297
let buffer = try self . jobRegistry. encode ( jobRequest: jobRequest)
298
298
try await self . client. withTransaction ( logger: self . logger) { connection in
299
299
try await self . updateJob ( id: id, buffer: buffer, connection: connection)
0 commit comments