Nic Cope
|
09cab7a90d
|
Allow maximum job age to be specified when cleaning up or getting expired jobs from a registry.
This ensures that all jobs cleaned from a started registry end up in the failed queue.
|
10 years ago |
Selwin Ong
|
2091c601b1
|
Merge pull request #451 from conslo/depend-on-unsaved-job-ids
Depend on unsaved job ids
|
10 years ago |
Nic Cope
|
8fa184b86b
|
Ensure the FinishedJobRegistry honors an 'infinite' result_ttl of -1
|
10 years ago |
Travis Johnson
|
b14f739dfe
|
no need for that save anymore
|
10 years ago |
Travis Johnson
|
82729c98dc
|
test for id based job dependancies
|
10 years ago |
Adam Wen
|
cd0230cae3
|
make job description unicode friendly
|
10 years ago |
zhangliyong
|
3d49784bcc
|
Merge branch 'master' of github.com:nvie/rq into cli-rq-worker
|
10 years ago |
Selwin Ong
|
2307bc8253
|
Added FinishedJobRegistry to monitor finished jobs.
|
10 years ago |
Selwin Ong
|
74a9982ecb
|
Fixed a bug where expired jobs aren't deleted from JobStartedRegistry.
|
10 years ago |
Selwin Ong
|
18c6ea64ef
|
Merge pull request #419 from selwin/registry-len
Added JobStartedRegistry.count
|
10 years ago |
zhangliyong
|
f9511664c8
|
Make flake8 happy :)
|
10 years ago |
zhangliyong
|
94e494e645
|
Add testcase for rq worker command
|
10 years ago |
zhangliyong
|
918403e371
|
Update test_cli
|
10 years ago |
Selwin Ong
|
202be75b21
|
Merge pull request #415 from foxx/feature/custom-job-ids
Allow job ID to be set on enqueue/enqueue_call() - fixes #412
|
10 years ago |
Selwin Ong
|
c1dc30eae3
|
Added __len__ method to Queue.
|
10 years ago |
Selwin Ong
|
fae7df5aa7
|
Renamed StartedJobRegistry.get_job_count to StartedJobRegistry.count for consistency.
|
10 years ago |
Selwin Ong
|
41ae1ce8a7
|
Added a registry.get_job_count().
|
10 years ago |
Cal Leeming
|
6aa2e18f88
|
Another unused import, oops
|
10 years ago |
Vincent Driessen
|
7686785d61
|
Merge branch 'selwin-working-queue'
Conflicts:
tests/test_worker.py
|
10 years ago |
Vincent Driessen
|
4b7c59d68d
|
Fix PEP8 complaints.
|
10 years ago |
Selwin Ong
|
6d79082b62
|
Call move_expired_jobs_to_failed_queue before returning job_ids.
|
10 years ago |
Selwin Ong
|
dc12f8aee5
|
Fixed random registry failures when run on slower machines.
|
10 years ago |
Selwin Ong
|
9341a4a33d
|
Renamed WorkingQueue to StartedJobRegistry.
|
10 years ago |
Selwin Ong
|
4d90cc062e
|
Add job to WorkingQueue before execution and remove from WorkingQueue after.
|
10 years ago |
Selwin Ong
|
a28575088b
|
Implemented WorkingQueue.cleanup().
|
10 years ago |
Selwin Ong
|
3dc008d090
|
Added WorkingQueue class.
|
10 years ago |
Vincent Driessen
|
9ab46804c6
|
Merge pull request #417 from foxx/feature/testworker
Added test worker for unit tests - fixes #413
|
10 years ago |
foxx
|
52c3ad0fbf
|
Renamed to SimpleWorker
|
10 years ago |
foxx
|
23cae3a420
|
Fixed bug caused by broken merge, my bad
|
10 years ago |
foxx
|
16ee71f26d
|
Use class for test worker, and performs PID check in unit tests, #412
|
10 years ago |
Vincent Driessen
|
dab8373311
|
Fix all tests.
|
10 years ago |
Vincent Driessen
|
c860beb4d5
|
Fix broken imports.
|
10 years ago |
Vincent Driessen
|
fc803f5d0d
|
Fix various flake8 complaints.
|
10 years ago |
foxx
|
72bc9e37b7
|
Forced job_id to only allow str/unicode
|
10 years ago |
foxx
|
05c1d4fa4b
|
Added better job ID tests
|
10 years ago |
foxx
|
6bb8b26114
|
Allow job ID to be set on enqueue/enqueue_call() - fixes #412
|
10 years ago |
zhangliyong
|
5883bb9efe
|
Make pep8
|
10 years ago |
zhangliyong
|
0ddd174868
|
Fix invoking requeue command bug in test_requeue
|
10 years ago |
zhangliyong
|
8782b11f1e
|
Adjust test_requeue
|
10 years ago |
zhangliyong
|
1ab92602e8
|
Add testcase for rq_cli
|
10 years ago |
Vincent Driessen
|
3ded050804
|
Replace by a string just as wide to not make this invalid binary pickle data.
|
11 years ago |
Vincent Driessen
|
79db282879
|
Support enqueueing callable classes.
Fixes #388.
|
11 years ago |
Vincent Driessen
|
12932a433b
|
Merge pull request #382 from selwin/cancel-should-remove-from-queue
job.cancel() should remove itself from queue
|
11 years ago |
Selwin Ong
|
638211df20
|
job.cancel() should remove itself from queue.
|
11 years ago |
Selwin Ong
|
7ac1c3500a
|
Worker.__init__ should accept custom job class.
|
11 years ago |
Selwin Ong
|
141278bb42
|
Queue.__init__ supports job_class argument.
|
11 years ago |
Vincent Driessen
|
eb469f8da0
|
Fix broken stub in tests.
|
11 years ago |
Vincent Driessen
|
da70ba580b
|
Fix broken import.
|
11 years ago |
Vincent Driessen
|
c5939479b5
|
Merge remote-tracking branch 'origin/master' into SanyerMyasoedov-master
Conflicts:
rq/decorators.py
tests/__init__.py
tests/test_decorator.py
|
11 years ago |
Vincent Driessen
|
ab9e6b852e
|
Fix PEP8 complaints.
|
11 years ago |