david watson
2d7e1c43f0
Fix pip install from HEAD of origin/master
...
The pip install -e directions didn't work. This does.
8 years ago
Marko Mrdjenovic
c8a955fbb1
Merge commit '83007b20740a97f085a14d3840d1e434350c6600'
...
# Conflicts:
# rq/queue.py
8 years ago
Jason Robinson
213969742e
Fix UnicodeDecodeError when failing jobs
...
Worker handle_exception and move_to_failed_queue couldn't handle a situation where the exception raised had non-ascii characters. This caused a UnicodeDecodeError when trying to format the exception strings.
If on Python 2, ensure strings get decoded before building the exception string.
Closes #482
8 years ago
Selwin Ong
83007b2074
Merge pull request #786 from jezdez/backend-class-overrides
...
Allow passing backend classes from CLI and other APIs
8 years ago
Selwin Ong
e0be02653e
Merge pull request #768 from zyegfryed/master
...
Use HTTPTransport transport so sentry reporting works by default
8 years ago
Selwin Ong
e531cd05fe
Merge pull request #781 from WeatherGod/dont_clobber_jobinfo
...
Trigger a refresh after job execution
8 years ago
Marko Mrdjenovic
35fb6b0b9a
move actual execute to a separate method to make it easier to run async jobs
8 years ago
Marko Mrdjenovic
3da3eab11d
moved job run to separate method to make async jobs easier
8 years ago
Benjamin Root
efb30b45a3
Take a different tack, and enable the exclusion of meta from saves
8 years ago
Benjamin Root
30a7ab4899
Add similar test for when the job fails
8 years ago
Benjamin Root
f68aeff481
Added integration test for the metadata persistence feature
8 years ago
Benjamin Root
56c89c1334
Trigger a refresh after job execution
...
* Prevents clobbering of user-supplied metadata
modified during the job execution
8 years ago
Jannis Leidel
c019662430
Allow passing backend classes (job, queue, worker, connection) from CLI and other APIs
...
This includes:
- a partial refactor of the CLI to organize the shared options
- extends the tests in areas where passing custom backend classes makes sense
- allow setting the core CLI options as env vars
- minor cosmetic changes here and there
8 years ago
Jannis Leidel
27e4f3a768
Small refactor to simplify registry key setup.
8 years ago
Selwin Ong
b241d50c10
Merge pull request #774 from samuelcolvin/heroku-warm-shutdown-fix
...
allow for already dead horse on heroku worker termination
8 years ago
Selwin Ong
eaa350443c
Merge pull request #778 from Atala/set_sentry_transport
...
fix: set HTTP transport as default for sentry
8 years ago
Atala
544f985d41
fix: set HTTP transport as default for sentry
8 years ago
Samuel Colvin
763a304ec6
cope with python 2.6 yawwwwwwn
8 years ago
Samuel Colvin
f50bdb31bf
skip test_run_scheduled_access_self on pypy
8 years ago
Samuel Colvin
b4b99f30b0
allow for already dead horse on heroku worker termination
8 years ago
Selwin Ong
4fc032bfbf
Merge pull request #770 from mtdewulf/queue-cancel-pipeline-fix
...
Don't run lrem directly if we have a pipeline
8 years ago
Michael DeWulf
9e8922a099
Don't run lrem directly if we have a pipeline
8 years ago
Sébastien Fievet
07883f5501
Use HTTPTransport transport so sentry reporting works by default
8 years ago
Selwin Ong
6721463fdf
queue.enqueue_call should call Job.exists with connection parameters.
8 years ago
Selwin Ong
1ae10dd529
Bump version to 0.7.1.
8 years ago
Selwin Ong
f4e7783abf
Merge pull request #765 from jsurloppe/master
...
Fix get job on failed queue
8 years ago
Julien Surloppe
dc3bba9362
Another check on failed status and test
8 years ago
Julien Surloppe
88a3c60177
Fix get job on failed queue
8 years ago
Selwin Ong
2428370dfd
Merge pull request #763 from jezdez/skip-heroku-macos
...
Stop running some Heroku tests on macOS since it’s missing the appropriate signals
8 years ago
Jannis Leidel
fcec17c8e1
Stop running some Heroku tests on macOS since it’s missing the appropriate signals
...
Refs issue #584 .
8 years ago
Selwin Ong
cfd3b507d2
Merge pull request #742 from th3hamm0r/739_fix_race_condition
...
#739 fix race condition
8 years ago
Stefan Hammer
f9bff3d12b
Merge branch 'master' into 739_fix_race_condition
8 years ago
Selwin Ong
2270369bd5
Merge pull request #761 from mtdewulf/pass-pipeline-to-push-job-id
...
Pass pipeline to push_job_id from enqueue_job
8 years ago
Michael DeWulf
f3f61bbc15
Pass pipeline to push_job_id from enqueue_job
8 years ago
Vincent Driessen
20e258f610
Bump to 0.7.0
8 years ago
Vincent Driessen
af6ce54ea4
Fix PEP8 complaints
8 years ago
Vincent Driessen
a689cdb3ec
Ignore more files
8 years ago
Vincent Driessen
5945c28ce3
Remove legacy script
8 years ago
Stefan Hammer
a0cee2d2a0
refactored worker code
...
Moved code into a new handle_job_success() method and reduced context of used
pipelines.
8 years ago
Selwin Ong
47e9d2e3ac
Merge pull request #733 from samuelcolvin/728-job-fetch-check
...
fetch_job: queue correct queue
8 years ago
Samuel Colvin
afc7469c27
fetch_job - check correct queue, fix #728
8 years ago
Selwin Ong
e9a6c2e329
Merge pull request #747 from th3hamm0r/handle_missing_dependency
...
Raise an exception if a given dependency does not exist
8 years ago
Stefan Hammer
301e5c927b
Raise an exception if a given dependency does not exist
...
Adapted some tests to the change: the dependency has to be saved first.
8 years ago
Selwin Ong
d2674898e4
Merge pull request #741 from rq-cluster/rxl-sentinel
...
custom connection class
8 years ago
Stefan Hammer
44f98693c7
added a test for the race condition
8 years ago
Stefan Hammer
67ae9277e5
completely pipelined enqueue_dependents
8 years ago
Stefan Hammer
7d267cf7ef
implemented correct watch/multi/exec
8 years ago
任晓磊
ee4cf6e3ee
fix get_redis_from_config()
8 years ago
任晓磊
83f81b351d
fix default argument
8 years ago
任晓磊
191cc28543
custom connection class
8 years ago