-
Notifications
You must be signed in to change notification settings - Fork 410
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
feat(queue): add queue version support #2822
Conversation
src/classes/scripts.ts
Outdated
@@ -220,7 +225,7 @@ export class Scripts { | |||
} | |||
|
|||
if (<number>result < 0) { | |||
throw this.finishedErrors({ | |||
throw finishedErrors({ |
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.
finishedErrors metros is part of scripts class to have a way to override it in pro version without having to to rewrite places where is calles. If it's outside of script, new version of finishedErrors need to be passed in all places where new pro errors need to be handled
72d4896
to
a4b32c9
Compare
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.
Lgtm, justo a minor comment
src/utils.ts
Outdated
@@ -10,6 +10,10 @@ import { ChildMessage, RedisClient } from './interfaces'; | |||
import { EventEmitter } from 'events'; | |||
import * as semver from 'semver'; | |||
|
|||
import { ErrorCode } from './enums'; |
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.
Looks like this reference is not used anymore
…askforcesh/bullmq into feat/add-queue-version-support
# [5.20.0](v5.19.1...v5.20.0) (2024-10-13) ### Features * **queue:** add queue version support ([#2822](#2822)) ([3a4781b](3a4781b))
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [bullmq](https://bullmq.io/) ([source](https://github.com/taskforcesh/bullmq)) | dependencies | minor | [`5.19.1` -> `5.20.0`](https://renovatebot.com/diffs/npm/bullmq/5.19.1/5.20.0) | --- ### Release Notes <details> <summary>taskforcesh/bullmq (bullmq)</summary> ### [`v5.20.0`](https://github.com/taskforcesh/bullmq/releases/tag/v5.20.0) [Compare Source](taskforcesh/bullmq@v5.19.1...v5.20.0) ##### Features - **queue:** add queue version support ([#​2822](taskforcesh/bullmq#2822)) ([3a4781b](taskforcesh/bullmq@3a4781b)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMCIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Reviewed-on: https://git.tristess.app/alexandresoro/ouca/pulls/220 Reviewed-by: Alexandre Soro <code@soro.dev> Co-authored-by: renovate <renovate@git.tristess.app> Co-committed-by: renovate <renovate@git.tristess.app>
No description provided.