horida
04987a80da
mark as busy before forking horse
9 years ago
Samuel Colvin
3aa7aebf87
remove assert_dt_between from worker tests
9 years ago
Selwin Ong
95f740299a
Merge pull request #588 from samuelcolvin/logging-extras
...
more info in 'Job OK' log entry
9 years ago
Selwin Ong
aac554e349
Merge pull request #587 from samuelcolvin/signal-changes
...
Signal changes
9 years ago
Samuel Colvin
1349e90ba2
test docstrings, and sentinel test
9 years ago
Samuel Colvin
082e61a212
add job.started_at
9 years ago
Samuel Colvin
30c29614c6
more info in 'Job OK' log entry
9 years ago
Samuel Colvin
fa48751fed
correct SLOW env var, run slow tests on ci
9 years ago
Samuel Colvin
aada162a4d
worker shutdown tests
9 years ago
Samuel Colvin
e750134e8a
move request_(force_)stop out of _install_signal_handlers
9 years ago
Vincent Driessen
ca235aee19
This is 0.5.6
9 years ago
Vincent Driessen
c344c2f334
Add Python 3.5 unit tests
9 years ago
Selwin Ong
c2f452c47a
Update CHANGES.md
9 years ago
Selwin Ong
544f2e6fb2
Fixed result logging call .
9 years ago
Selwin Ong
2140cc4fab
Job result should be converted to text before being logged.
9 years ago
Selwin Ong
bb4336f612
Merge pull request #578 from tbaugis/master
...
log job result in DEBUG level and truncate to 2k symbols
9 years ago
Toms Bauģis
5a4f297134
do not truncate result output as that can be done in the log formatter
9 years ago
Michael Keirnan
da7d59e1a9
Merge remote-tracking branch 'upstream/master'
...
* upstream/master:
Modified patch_connection to allow Redis connection to be easily mocked.
9 years ago
Michael Keirnan
bad054989d
export worker id and job id to env of work horse
...
For tracing job execution in a distributed system it is useful to tag log
entries with the worker id and job id. The current job is accessible
via get_current_job(), but that requires an extra redis connection. And
the current worker id (the worker id of the parent process) does not appear
to be available.
Rather than introducing an `rqworker` alternative or subclassing Worker, it
feels simple and efficient to make these contextual ids available as
environment variables. This should have no performance cost and no
API compatibility issues.
Some useful things to do with these values in the worker horse process:
+ include them in log messages
+ include them as 'x-' headers in HTTP requests made by workers
9 years ago
Selwin Ong
e538512c79
Merge branch 'master' of github.com:nvie/rq
...
Conflicts:
tests/test_job.py
9 years ago
Selwin Ong
0e4112da7a
Modified patch_connection to allow Redis connection to be easily mocked.
9 years ago
Toms Bauģis
ade154575e
fix travis error - python 2.6 or whatevs wants positions spelled out for .format
9 years ago
Selwin Ong
1a089887c0
Merge pull request #564 from jlopex/javi/fix_dependent_jobs_on_different_queues
...
support multiple queues on dependent jobs
9 years ago
Toms Bauģis
682d4adb40
log result in DEBUG level and truncate to 2k symbols
9 years ago
Javier Lopez
d3d9a20680
Do not call pipeline.execute() if pipeline is given as argument
9 years ago
Selwin Ong
cf20f1d9b2
Merge pull request #576 from jlopex/ensure_custom_handlers_are_called
...
Ensure custom exception handlers call when Redis is down
9 years ago
Vincent Driessen
02c6df6a45
This is 0.5.5
9 years ago
Vincent Driessen
c1a4780d10
Fix PEP8 complaints
9 years ago
Vincent Driessen
3f860f985d
Add .mailmap
9 years ago
Vincent Driessen
319f98a36e
Update changelog for 0.5.5
9 years ago
Javier Lopez
4fb59a4ceb
Ensure custom exception handlers calls when Redis is down
9 years ago
Javier Lopez
a2d0e4f933
Clarify test_enqueue_dependents_on_multiple_queues
9 years ago
Javier Lopez
8a6bc08e47
Added pipeline named argument to enqueue_job
9 years ago
Javier Lopez
c76c59133b
Fix ValueError exception on relative import
...
test_job raised an exception:
ValueError: Attempted relative import in non-package
9 years ago
Javier Lopez
c136209804
Add test_enqueue_dependents_on_mulitple_queues test
9 years ago
Javier Lopez
b4f157516e
enqueue_dependents now uses origin queue to enqueue
...
Current implementation is using the first job queue
to insert the dependent jobs. This makes RQ to ignore
the original queue where the jobs were enqueued.
With this change, we will use job origin attribute to
fetch the original queue, then insert the dependent
job to the fetched queue.
fixes issue #512
9 years ago
Selwin Ong
e6a15c57b3
Disable click >= 5.0's unicode_literals warnings.
9 years ago
Selwin Ong
f09be523dd
Merge pull request #573 from jcsaaddupuy/feature/dequeue_any_not_recursive
...
dequeue_any not recursive
9 years ago
Selwin Ong
a420a9999d
Merge pull request #572 from Damnever/master
...
_Colorizer().notty is more clear.
9 years ago
Jean-Christophe SAAD-DUPUY
8fbf5452fa
fix: return (None, None) for dequeue_any if no result
10 years ago
Jean-Christophe SAAD-DUPUY
59d193590c
fix: remove recursive call to dequeue_any
10 years ago
Damnever
43616ea696
_Colorizer().notty is more clear
10 years ago
Selwin Ong
7312683e4d
Merge pull request #571 from lots0logs/master
...
make args and kwargs explicit for enqueue_call function
10 years ago
Dustin Falgout
91a3aa7493
make args and kwargs explicit for enqueue_call function
...
closes #466
10 years ago
Selwin Ong
193dc8609e
Merge pull request #565 from likeon/jobs-equality-fix
...
Fixes Job.__eq__ crash when other object doesn't have id attribute
10 years ago
likeon
fc4124e39c
Fixes Job.__eq__ crash when other object doesn't have id attribute
10 years ago
Selwin Ong
e6a499ada8
Merge pull request #561 from selwin/async-bug
...
Sync jobs should be cleaned up after execution.
10 years ago
Selwin Ong
edd139d86f
Sync jobs should be cleaned up after execution.
10 years ago
Selwin Ong
cdcea84105
Merge pull request #557 from selwin/exception_handling
...
Exception handling
10 years ago
Vincent Driessen
e88525a649
This is 0.5.4
10 years ago