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
Selwin Ong
21620e98ca
Merge pull request #411 from selwin/fix-exception-handler
...
Don't pass "args" into logging call
10 years ago
Selwin Ong
7cf8ef42d1
Don't pass "args" into logging call.
10 years ago
Selwin Ong
2e6f86d549
Merge pull request #407 from rascalking/master
...
allow queue class to be overriden from command line
10 years ago
Dave Bonner
6eea986012
allow queue class to be overriden from command line
...
use the same mechanism as the override for worker class.
10 years ago
Vincent Driessen
5331dc4de6
Ignore local.py (it's tested in werkzeug instead).
11 years ago
Selwin Ong
2409e817ad
Merge pull request #395 from methane/patch-1
...
Easy refactoring on decorators.py
11 years ago
INADA Naoki
4fb2914c6f
Easy refactoring on decorators.py
11 years ago
Vincent Driessen
7ea076e8c8
Merge pull request #394 from selwin/log-extra_data
...
Capture more data when logging errors
11 years ago
Selwin Ong
b05c2052e1
Capture more data when logging errors.
11 years ago
Vincent Driessen
db37d8b326
Test on Python 3.4 on Travis, too.
11 years ago
Vincent Driessen
3de8a47f06
Merge pull request #390 from selwin/pipeline-dependency-registration
...
job.register_dependency() should support pipelining
11 years ago
Selwin Ong
fc19a64670
job.register_dependency() should support pipelining.
11 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
b91b89a183
Use highest pickle protocol version to serialize job data.
11 years ago
Vincent Driessen
79db282879
Support enqueueing callable classes.
...
Fixes #388 .
11 years ago
Vincent Driessen
865efd6e8c
Leave setting the state to the worker, not the Job itself.
...
Should fix #389 .
11 years ago
Vincent Driessen
712e663ffc
Allow passing in positional arguments via tox to pytest.
...
See docs for details: http://tox.readthedocs.org/en/latest/example/general.html
11 years ago
Vincent Driessen
eb6fb27281
Change confusing method name.
11 years ago
Vincent Driessen
ea46e79625
Exclude vendor files and irrelevant files from coverage reports.
11 years ago
Vincent Driessen
1bebe85c3a
Add badge with number of monthly downloads.
11 years ago
Vincent Driessen
13ae0353c9
Add coverage commands to tox.
11 years ago
Vincent Driessen
36ac9a5209
Add coverage reporting for RQ.
11 years ago
Vincent Driessen
6299af15fc
Merge branch 'master' of github.com:nvie/rq
11 years ago
Vincent Driessen
d37f49f643
Merge branch 'andrewsg-warnings'
11 years ago
Vincent Driessen
70d209a430
No need to test this backward compatibility.
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
Vincent Driessen
fe8efbcf27
Remove extra paragraph.
11 years ago
Vincent Driessen
8aa7ce2042
Add high-res (SVG) build status icon.
11 years ago
Vincent Driessen
e1d134e64d
Add Python 3 support state badge.
11 years ago
Selwin Ong
2ab7276230
Merge pull request #377 from selwin/logging-fix
...
Only add logging handler if nothing is configured
11 years ago
Selwin Ong
638211df20
job.cancel() should remove itself from queue.
11 years ago
Selwin Ong
b828078dde
Fixed default logging level in setup_loghandlers.
11 years ago
Selwin Ong
92fb787a69
Only add logging handler if nothing is configured.
11 years ago
Vincent Driessen
1c486cb07d
Merge pull request #364 from svvitale/master
...
Use as_text to fix syntax error discovered in Python 3.2 (raspberry pi)
11 years ago
Scott Vitale
b464c37468
Use as_text to fix syntax error discovered in Python 3.2 (raspberry pi)
11 years ago
Selwin Ong
14932a6662
Merge pull request #359 from rascalking/patch-1
...
fix --worker-ttl command line arg
11 years ago
David Bonner
e2f398be80
fix --worker-ttl command line arg
...
Make sure it's converted to an int, since the rest of the code expects it to be. Without this patch, trying to use that argument gets you something like this:
(cogo)[dbonner@bonnervm18 syseng]$ rqworker --worker-ttl 86400
21:52:07 RQ worker started, version 0.4.6
Traceback (most recent call last):
File "/opt/cogo/bin/rqworker", line 9, in <module>
load_entry_point('rq==0.4.6', 'console_scripts', 'rqworker')()
File "/home/dbonner/src/github/rq/rq/scripts/rqworker.py", line 102, in main
w.work(burst=args.burst)
File "/home/dbonner/src/github/rq/rq/worker.py", line 354, in work
timeout = None if burst else max(1, self.default_worker_ttl - 60)
TypeError: unsupported operand type(s) for -: 'str' and 'int'
11 years ago
Vincent Driessen
69adec5bc7
Merge pull request #357 from selwin/job-class
...
Make it easier to use custom job class
11 years ago
Selwin Ong
8095a565ac
rqworker script should accept "--job-class" parameter.
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
Andrew Gorcester
17a4ed056d
use warnings.warn() instead of raise for DeprecationWarning
11 years ago
Vincent Driessen
052d0df4bf
Update CHANGES.
11 years ago
Vincent Driessen
eb469f8da0
Fix broken stub in tests.
11 years ago
Vincent Driessen
6644872273
Raise warning when using async Sentry transport.
11 years ago
Vincent Driessen
2314b62d8c
Start release 0.4.6.
11 years ago
Vincent Driessen
f0e02996bc
Use single quotes for string literals.
11 years ago
Zekui Shi
51fee72f66
fix print in example
11 years ago