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 |
Vincent Driessen
|
38ec259b6e
|
Enable the most modern Python syntax.
|
11 years ago |
msoedov
|
e76020d894
|
Removed @resolve_connection from job decorator.
-- resolve_connection already presence inside Queue __init__.
|
11 years ago |
msoedov
|
dd994142b3
|
Added tests and updated requirements with mock lib.
|
11 years ago |
Vincent Driessen
|
5fe82bd543
|
Merge pull request #341 from SanyerMyasoedov/master
Added depends_on to job decorator
|
11 years ago |
msoedov
|
46c96f9481
|
Added depends_on to job decorator
|
11 years ago |
Selwin Ong
|
4f918041e3
|
Rearranged how explicit kwargs are passed into queue.enqueue(). Fixes #322
|
11 years ago |