Vincent Driessen
d0fa35dc66
Python 2.6 fix.
11 years ago
Vincent Driessen
8414a67d65
Fix bug where worker died from monitoring views.
...
Fixes #288 .
Conflicts:
rq/worker.py
11 years ago
Andy Yao
31830120f8
delte Unused variable 'prefix'
11 years ago
Malthe Borch
c5a381fbe9
Remove dependency on 'times' library (see issue #286 ).
...
Basically, for the functionality needed, a dependency on 'times' (which
in turn depends on 'python-dateutil') seem unnecessary.
11 years ago
Vincent Driessen
acc8b81617
Enable Redis service explicitly on Travis.
11 years ago
Vincent Driessen
39ce12f9c3
Merge branch 'malthe-fix-safe-fetch-connection-error'
11 years ago
Vincent Driessen
9abbfc4dfb
Use kwarg to specify connection.
11 years ago
Malthe Borch
1792a194bd
Should pass a connection here because we might not be using a connection stack.
11 years ago
Vincent Driessen
09d461c2c0
Merge pull request #280 from blaze33/master
...
Exclude tests package from setup.py.
11 years ago
Maxime Rouyrre
a8b6596145
Exclude tests package from setup.py.
...
Pull request nvie/rq#192 solved the issue for `pip install rq` but not when
directly installing from a git repository as in
`pip install git+git://github.com/nvie/rq@master` that still creates a
possibly conflicting `tests` folder.
11 years ago
Selwin Ong
552ee49685
Merge pull request #275 from jchia/master
...
Minor cleanup: Use Status enums instead of strings
11 years ago
Joshua Chia
ef2bbe762b
Minor cleanup: Use Status enums instead of strings
11 years ago
Vincent Driessen
c81014807a
Merge pull request #272 from reterVision/master
...
Remove duplicate function call.
11 years ago
reterVision
c27cb5217c
Remove duplicate function call.
11 years ago
Marc Brinkmann
3d0138d319
Added Worker.get_current_job() convenience method.
11 years ago
Marc Brinkmann
c745f6811a
Added job_id property, storing the id of the currently executing job.
11 years ago
Marc Brinkmann
606d4fa10f
Add optional pipeline parameter to set_state.
11 years ago
Selwin Ong
e4589a4641
job.cancel() should be pipelined.
11 years ago
Vincent Driessen
a34d5bb303
Merge pull request #268 from reterVision/master
...
Fix typo in Doc string.
11 years ago
reterVision
b79fac8840
Fix typo in Doc string.
11 years ago
Vincent Driessen
af87cce382
Merge branch 'selwin-custom-worker'
11 years ago
Vincent Driessen
3546aae0c0
Let's keep things readable.
11 years ago
Selwin Ong
28dcb5dcd1
Renamed "--worker" flag to "--worker-class".
11 years ago
Selwin Ong
4ff038481f
First stab at allowing user to specify a custom worker class.
11 years ago
Vincent Driessen
20f4bb5138
Merge pull request #266 from selwin/cancel-dependents
...
Canceling a job should also delete its dependents_key
11 years ago
Selwin Ong
b997fb45bf
Removed unnecessary lines from test_job.py.
11 years ago
Selwin Ong
8aa5771646
job.cancel() now deletes dependents_key
11 years ago
Vincent Driessen
7fdd115e28
Merge branch 'jchia-master'
...
Conflicts:
rq/job.py
rq/queue.py
11 years ago
Vincent Driessen
01f9a98ad9
Make test more readable by using constants.
11 years ago
Vincent Driessen
bb3dc5b0b2
Terminology change: waitlist -> dependents.
11 years ago
Joshua Chia
b89d6c8990
Set timeout at Job creation instead of during enqueueing; made Queue.enqueue_call respect `timeout` when `after` is specified
11 years ago
Selwin Ong
15c4b562ba
Reverse dependency mapping should be a set instead of a list.
11 years ago
Selwin Ong
93e5e552b7
Replaced "after" kwarg with "depends_on".
11 years ago
Vincent Driessen
fa0e9e0f95
Update changelog.
11 years ago
Vincent Driessen
97a24eed3b
Merge pull request #254 from not-napoleon/master
...
Empty now deletes all jobs in the queue
11 years ago
Mark Tozzi
5f6a1f0ac5
Empty the queue before deleteing the jobs, in case new jobs arrive
11 years ago
Mark Tozzi
0713ad03c2
Empty now deletes all jobs in the queue
11 years ago
Vincent Driessen
7bf572cf0b
Update changelog.
11 years ago
Vincent Driessen
4dbbfc1d8f
Merge pull request #252 from nvie/use-utc
...
Store birth and death values as UTC dates
11 years ago
Vincent Driessen
5d391e90a0
Update changelog.
11 years ago
Vincent Driessen
1fed0e0ed5
PEP8ify.
11 years ago
Vincent Driessen
d92022bb83
Record new behaviour of Queue.all() explicitly in a test.
11 years ago
Vincent Driessen
13b8d03c59
Remove misleading test.
11 years ago
Rob Harrigan
02c5d902ec
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
tests/test_queue.py
11 years ago
Rob Harrigan
5e4d5f642e
Only save queue to set on enqueue.
...
Validate queue key still exists when all() is called
11 years ago
Vincent Driessen
2da46565aa
Add job dependencies to the changelog.
11 years ago
Vincent Driessen
6144ec0786
Merge pull request #207 from selwin/job_dependency
...
Job dependency
11 years ago
Selwin Ong
fd44ad39d4
Python 3 fixes for job dependency stuff.
11 years ago
Selwin Ong
fcfe55fe13
Merge branch 'master' into job_dependency
...
Conflicts:
rq/job.py
rq/queue.py
11 years ago
Vincent Driessen
aefa44b30c
Store birth and death values as UTC dates.
11 years ago