-
Notifications
You must be signed in to change notification settings - Fork 435
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
Conversation
src/interfaces/jobs-options.ts
Outdated
* The number of milliseconds after which the job should be | ||
* fail with a timeout error. | ||
*/ | ||
timeout?: number; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just one comment
src/interfaces/jobs-options.ts
Outdated
* The number of milliseconds after which the job should be | ||
* fail with a timeout error. | ||
*/ | ||
timeout?: number; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
## [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))
🎉 This PR is included in version 1.86.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
fixes #1282