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
Donald Stufft
82c4ac6ec2
Add a Handler that enables colorized output
13 years ago
Donald Stufft
f188d66354
Remove logbook from the install_requires and other dependency areas
13 years ago
Vincent Driessen
f367c38132
Bump version number and add changelog.
13 years ago
Vincent Driessen
720011c33e
Merge branch 'selwin-result_ttl'
13 years ago
Vincent Driessen
a9cb201d39
PEP8ify.
13 years ago
Vincent Driessen
5963ec6d77
Try to make the expiration code a bit more readable.
13 years ago
Vincent Driessen
4b2838943b
Rename rv_ttl to default_result_ttl.
13 years ago
Vincent Driessen
5fcedbcdad
Change assertEqual to assertGreaterThan, to make the test a little less
...
brittle (on slow machines).
13 years ago
Vincent Driessen
78864e2581
PEP8ify.
13 years ago