Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require id parameter in registerJob #397

Merged
merged 2 commits into from Mar 11, 2024
Merged

Require id parameter in registerJob #397

merged 2 commits into from Mar 11, 2024

Conversation

adam-fowler
Copy link
Member

No description provided.

@@ -55,7 +55,7 @@ public struct JobQueue<Queue: JobQueueDriver>: Service {
/// - maxRetryCount: Maximum number of times job is retried before being flagged as failed
/// - execute: Job code
public func registerJob<Parameters: Codable & Sendable>(
_ id: JobIdentifier<Parameters>,
id: HBJobIdentifier<Parameters>,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HB prefix is in there?

Suggested change
id: HBJobIdentifier<Parameters>,
id: JobIdentifier<Parameters>,

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shit I shouldn't rush these things

@adam-fowler adam-fowler merged commit 0d5bf5b into main Mar 11, 2024
4 of 5 checks passed
@adam-fowler adam-fowler deleted the job-id-parameter branch March 11, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants