Jon Parise
eb00f69ced
Add a standard --url argument to all scripts.
...
redis-py now supports URL-based connection configuration. When --url
is specified, we use it to construct the Redis object. Otherwise, we
use the existing argument-based construction method.
`Redis.from_url()` is new in redis-py 2.6.2, so that prerequisite has
been adjusted accordingly.
12 years ago
Vincent Driessen
b97a9df69c
Merge pull request #146 from sashka/master
...
Make rqinfo.py more silent.
12 years ago
Alexander Saltanov
0e638d795b
Don't show traceback in rqinfo when ^C is pressed.
12 years ago
Vincent Driessen
d80fa53d7e
Ugh. Syntax.
12 years ago
Vincent Driessen
11794ccef5
Merge branch 'sburns-no-colorize-notty'
12 years ago
Vincent Driessen
435cbc0f53
Simplify a bit.
12 years ago
Scott Burns
59a01b49f4
Don't colorize non-tty stdout/err
12 years ago
Vincent Driessen
0e825c98ca
Remove procname dependency.
12 years ago
Vincent Driessen
9ff5b18ebb
Merge branch 'sburns-decorator-ttl'
12 years ago
Vincent Driessen
4e6b19d5ab
Bump version number.
12 years ago
Vincent Driessen
5e59c6e28e
Rename the const.
12 years ago
Scott Burns
538bbb1b55
Decorator accepts result_ttl argument
12 years ago
Vincent Driessen
221dd8a004
Merge pull request #137 from BuddhaOhneHals/master
...
Added new job status "Running"
12 years ago
Timo Steidle
881b944283
Changed status "Running" into "started" to be more consistent with the other statuses
12 years ago
Timo Steidle
8787cfbb30
Added new job status "Running"
12 years ago
Vincent Driessen
c0df77f84d
Support QUEUES as a config setting in settings files.
12 years ago
Vincent Driessen
81270c8e59
Support REDIS_PASSWORD setting in settings.
12 years ago
Vincent Driessen
412d4a15d3
Merge remote-tracking branch 'origin/master'
12 years ago
Vincent Driessen
398890fdc4
Update changelog.
12 years ago
Vincent Driessen
179b7b329d
Merge pull request #135 from sburns/worker-password
...
Expose Redis password to scripts.
12 years ago
Scott Burns
c705a2f06a
Expose Redis password to scripts
...
Allow rqworker and rqinfo to connect to
password-protected Redis hosts.
12 years ago
Vincent Driessen
3440e5d52e
Update changelog.
12 years ago
Vincent Driessen
e0b26758a2
Merge branch 'move-cust-props-to-meta'
...
This fixes #126 .
12 years ago
Vincent Driessen
7ff6ed72da
Add backward compat (will be removed in 0.4).
...
This is to support users that are relying on the current custom property
implementation. A warning will be displayed on the console, stating
that this support will be removed from RQ version 0.4.
12 years ago
Vincent Driessen
8cb6a21670
Only store custom properties when they're written to the meta dict.
12 years ago
Vincent Driessen
8581cd6463
Don't allow jobs without Redis connection.
...
And other connection-related fixes.
12 years ago
Vincent Driessen
86dc1e3533
Prepare for next version.
12 years ago
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
7ece6c7e37
Prepare changelog for next version.
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