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

fix(queue): get rid of repeat options from default #1284

Merged
merged 2 commits into from
Jun 16, 2022

Conversation

roggervalf
Copy link
Collaborator

fixes #1282

* The number of milliseconds after which the job should be
* fail with a timeout error.
*/
timeout?: number;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

timeout, I think is not used, could I delete it?

Copy link
Contributor

Choose a reason for hiding this comment

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

Not used. But I thinkn it is used in the Pro version. So we need to add it to Pro then.

@roggervalf roggervalf requested a review from manast June 12, 2022 21:52
Copy link
Contributor

@manast manast left a comment

Choose a reason for hiding this comment

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

just one comment

* The number of milliseconds after which the job should be
* fail with a timeout error.
*/
timeout?: number;
Copy link
Contributor

Choose a reason for hiding this comment

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

Not used. But I thinkn it is used in the Pro version. So we need to add it to Pro then.

/**
* Base repeat job key.
*/
repeatJobKey?: string;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this option really needed? I am thinking the user is not able to configure this key, it is computed automatically from the "repeat" option.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, in this case is like prevMillis option, I'll change the description as prevMillis saying that this is an internal param

@roggervalf roggervalf requested a review from manast June 14, 2022 00:52
@roggervalf roggervalf merged commit cdd2a20 into master Jun 16, 2022
@roggervalf roggervalf deleted the fix-default-job-options branch June 16, 2022 03:44
github-actions bot pushed a commit that referenced this pull request Jun 16, 2022
## [1.86.2](v1.86.1...v1.86.2) (2022-06-16)

### Bug Fixes

* **queue:** get rid of repeat options from defaultJobOptions ([#1284](#1284)) ([cdd2a20](cdd2a20))
@github-actions
Copy link

🎉 This PR is included in version 1.86.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

repeat option is ignored when using "defaultJobOptions"
2 participants