10 Commits (bf0b4308fdee7baeb8f2867cb9fbab796464d3ae)

Author SHA1 Message Date
Darshan Rai ada2ad03ca modify zadd calls for redis-py 3.0 (#1016)
* modify zadd calls for redis-py 3.0

redis-py 3.0 changes the zadd interface that accepts a single
mapping argument that is expected to be a dict.
https://github.com/andymccurdy/redis-py#mset-msetnx-and-zadd

* change FailedQueue.push_job_id to always push a str

redis-py 3.0 does not attempt to cast values to str and is left
to the user.

* remove Redis connection patching

Since in redis-py 3.0, Redis == StrictRedis class, we no longer
need to patch _zadd and other methods.
Ref: https://github.com/rq/rq/pull/1016#issuecomment-441010847
6 years ago
Vincent Driessen 28a19ee717 Remove warning that's now breaking since the Raven API changed 10 years ago
zhangliyong 7b434a32eb Let cleanup_ghosts accept conn argument 10 years ago
Vincent Driessen 6644872273 Raise warning when using async Sentry transport. 11 years ago
Vincent Driessen ab9e6b852e Fix PEP8 complaints. 11 years ago
Vincent Driessen 38ec259b6e Enable the most modern Python syntax. 11 years ago
Selwin Ong 0198916856 Fixes an issue where register_sentry breaks when logging jobs with
unimportable function.
12 years ago
Vincent Driessen 223e09f4fe Add rq.contrib.legacy.cleanup_ghosts() function, to clean up old mess. 12 years ago
Vincent Driessen db4ec16be8 Also report job description. 12 years ago
Vincent Driessen 502bf59399 Add convenience directive to easily configure Sentry with RQ. 12 years ago