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(python): uniyfing redis connection args for Queue and Worker #2282

Conversation

saulane
Copy link
Contributor

@saulane saulane commented Nov 15, 2023

Currently the NodeJS version has the same connection arguments for the worker and queue whereas python as two different format.

It's a breaking change but using the same format might prevent bugs in the future

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.

LGTM

@roggervalf roggervalf changed the base branch from master to feat/better-handling-of-queue-markers December 5, 2023 03:39
@roggervalf roggervalf merged commit 8eee20f into taskforcesh:feat/better-handling-of-queue-markers Dec 5, 2023
10 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 21, 2023
# [5.0.0](v4.17.0...v5.0.0) (2023-12-21)

### Bug Fixes

* **connection:** require connection to be passed ([#2335](#2335)) ([1867dd1](1867dd1))
* **job:** revert console warn custom job ids when they represent integers ([#2312](#2312)) ([84015ff](84015ff))
* **python:** unify redis connection args for Queue and Worker ([#2282](#2282)) ([8eee20f](8eee20f))
* **worker:** throw error if connection is missing ([6491a18](6491a18))

### Features

* **job:** provide skipAttempt option when manually moving a job ([#2203](#2203)) ([0e88e4f](0e88e4f))
* **python:** use new queue markers ([b0a13e8](b0a13e8))
* **python:** use new queue markers ([4276eb7](4276eb7))
* **worker:** improved markers handling ([73cf5fc](73cf5fc))
* **worker:** improved markers handling ([0bac0fb](0bac0fb))

### BREAKING CHANGES

* **worker:** Markers use now a dedicated key in redis instead of using a special Job ID.
* **worker:** Markers use now a dedicated key in redis instead of using a special Job ID.
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

3 participants