Skip to content

Update method to obtain the RQ job id#145

Open
jjmerchante wants to merge 3 commits into
chaoss:mainfrom
jjmerchante:fix-job-id
Open

Update method to obtain the RQ job id#145
jjmerchante wants to merge 3 commits into
chaoss:mainfrom
jjmerchante:fix-job-id

Conversation

@jjmerchante
Copy link
Copy Markdown
Contributor

The method job.get_id() has been removed from RQ in the last release, use job.id instead.

This PR also updates the Python dependencies to address the security vulnerabilities.

The method `job.get_id()` has been removed from RQ in the
last release, use `job.id` instead.

Signed-off-by: Jose Javier Merchante <jjmerchante@bitergia.com>
Fix the GrimoireLabSimpleWorker worker class because it was
not using the SimpleWorker implementation and was forking the
worker.

Signed-off-by: Jose Javier Merchante <jjmerchante@bitergia.com>
Package django-rq updated the location of get_redis_config
to a different path and that causes that FakeRedisConnection
was not correctly configured for tests.

Change the Redis connection reference in the testing
configuration to use the correct path.

Signed-off-by: Jose Javier Merchante <jjmerchante@bitergia.com>
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.

1 participant