Vincent Driessen
f9137311b5
Release version 0.3.2.
12 years ago
Vincent Driessen
2f578a4c2d
Avoid dict comprehension for compatibility.
...
This fixes #128 .
12 years ago
Vincent Driessen
59d150f1f8
Merge branch 'obmarg-fix-rqinfo'
...
This fixes #127 . Thanks!
12 years ago
Graeme Coupar
365d1d8226
Fixed argument handling in rqinfo
...
rqinfo was using None for the redis host and port, which was causing
exceptions when trying to connect. It was possible to supply these on
the commandline, but port was just being passed straight through as a
string, which also caused exceptions.
This commit moves some of the argument & configuration file handling out
of rqworker and into the scripts/__init__.py file, and then calls it
from rqinfo.
12 years ago
Vincent Driessen
5e80aa27eb
Fix comment.
12 years ago
Vincent Driessen
95d3aed98e
Store the job ID on the internal stack.
...
It does so instead of the instance itself. Still returns the job---the
interface hasn't changed.
12 years ago
Vincent Driessen
372de4b45a
Implement the get_current_job() function.
...
This fixes #125 .
12 years ago
Vincent Driessen
ce3e501a62
Add change to changelog.
12 years ago
Vincent Driessen
7ece6c7e37
Prepare changelog for next version.
12 years ago
Vincent Driessen
879a87d158
Remove logbook and replace it with logging.
...
This reverts commit 1ab8c19696
and
reintroduces all changes made by @dstufft.
Still, it needs more patches to reeanble the default log-to-console
behaviour. See #121 .
12 years ago
Vincent Driessen
db82d5c1b4
Release 0.3.1
12 years ago
Vincent Driessen
1ab8c19696
Revert "Remove logbook and replace it with logging".
...
This reverts the commit range f367c38..978ba2d.
Issue #121 is currently blocking the 0.3.1 release.
12 years ago
Vincent Driessen
a6e57dd7c0
Fix: change import path before importing settings module.
12 years ago
Vincent Driessen
a5134c48c8
Add changes.
12 years ago
Vincent Driessen
ce1da3f5ca
Add support for configuration RQ workers with Sentry with a single flag.
...
This fixes #122 .
12 years ago
Vincent Driessen
f7ab216781
Update changelog.
12 years ago
Vincent Driessen
1687633c07
Add support for passing configuration files to rqworker.
...
This fixes #123 .
12 years ago
Vincent Driessen
e5eaedeef2
Merge branch 'custom-exc-handling'
...
This fixes #95 .
12 years ago
Vincent Driessen
781f3e0460
Add test for custom exc handling.
12 years ago
Vincent Driessen
cd05f6550a
Link to docs from within changelog.
12 years ago
Vincent Driessen
9e22847d13
Update changelog.
12 years ago
Vincent Driessen
481369a88d
Require at least redis-py version 2.4.
...
This fixes #106 .
12 years ago
Vincent Driessen
db80be4ef7
Fix typos.
12 years ago
Vincent Driessen
db4ec16be8
Also report job description.
12 years ago
Vincent Driessen
502bf59399
Add convenience directive to easily configure Sentry with RQ.
12 years ago
Vincent Driessen
cdc3a6c7a9
Convenience exc_handler registration in __init__.
...
Allow custom exception handlers to be passed in in the Worker
constructor.
12 years ago
Vincent Driessen
f457bd9da2
Remove incorrect arg to pop_exc_handler method.
12 years ago
Vincent Driessen
daa8f38b4b
Improve formatting of the exceptions on the console.
12 years ago
Vincent Driessen
a20deb2c52
Add custom exception handling capabilities.
...
This fixes #95 .
12 years ago
Vincent Driessen
a017756748
Fetch fresh status value on every request.
...
It could probably require a bit of caching, to prevent too many fetches
per time slot (for example, return the locally cached value if that
value is as fresh as a second or so).
This fixes #120 .
13 years ago
Vincent Driessen
c0ab4f7966
Update changelog.
13 years ago
Vincent Driessen
35761a0d71
Merge branch 'selwin-persist-None-result'
13 years ago
Vincent Driessen
6b0ebe9ceb
Remove is_done property.
...
It is too similar to is_finished.
13 years ago
Vincent Driessen
bc7e32bae8
Add expiry info to the worker log.
13 years ago
Vincent Driessen
4b797fbf43
Don't use strings, but comments.
13 years ago
Vincent Driessen
9549b34d60
Add convenience accessor properties for status.
13 years ago
Vincent Driessen
4224304291
I like this implementation of an 'enum' better.
13 years ago
Vincent Driessen
c65a414e4a
Merge pull request #119 from selwin/worker-connection
...
Worker.find_by_key now properly uses connection. Thanks.
13 years ago
Selwin Ong
41946d1bb3
Worker.find_by_key now properly uses connection.
13 years ago
Selwin Ong
442b389b97
Job returning None as result are now persisted correctly.
...
Job status can now be checked via ``status`` property which should
return either "queued", "finished" or "failed".
13 years ago
Vincent Driessen
d7f83cd727
Update changelog.
13 years ago
Vincent Driessen
f06ef9c975
Merge branch 'selwin-async-2'
...
This fixes #114 .
13 years ago
Vincent Driessen
e2a0d83eee
Whoops.
13 years ago
Vincent Driessen
83369f3b9b
Prefer `result` over `return_value`.
...
`return_value` still is available as a backward-compatible accessor.
This fixes #116 .
13 years ago
Selwin Ong
06d75630e0
Execute job immediately if Queue(async=False)
13 years ago
Vincent Driessen
978ba2dff9
Add changelog note.
13 years ago
Donald Stufft
58ccd337c0
Don't hardcode a name into logging.getLogger
13 years ago
Donald Stufft
66235f7ad0
Switch to using slightly more pythonic log code
13 years ago
Donald Stufft
aeb17d0497
Make the rqworker script use the logging module instead of logbook
13 years ago
Donald Stufft
a08c983efc
Fix tests to use logging
13 years ago