Vincent Driessen
7216b1eedb
Add .env.fish, for fish lovers.
12 years ago
Selwin Ong
40d0a7d9a9
Removed __main__ that was accidentally added to rqworker script.
12 years ago
Selwin Ong
d1f586b413
Only configure logging handlers if not already present.
12 years ago
Javier Rey
d660b611db
ended_at time is now saved when job is finished
12 years ago
Selwin Ong
f498de57b6
Always call job.save even on synchronous queues so get_current_job doesn't fail
12 years ago
Vincent Driessen
10237ddcb4
Merge branch 'job-access-within-job'
...
Conflicts:
CHANGES.md
rq/job.py
12 years ago
Vincent Driessen
a543a3860f
Merge pull request #154 from ulope/issue154
...
config file option doesn't work for dotted names
12 years ago
Ulrich Petri
43038d3150
Added tests for config file loading
12 years ago
Ulrich Petri
ba57f104ff
Switched config file loading to import lib to allow dotted "paths" to settings modules
12 years ago
Vincent Driessen
5fd85ec754
Merge pull request #149 from jparise/scripts-url-argument
...
Add a standard --url argument to all scripts.
12 years ago
Jon Parise
e90efc254b
Use `redis.from_url()` for greater compatibility.
...
This lets us keep the redis-py version requirement back at 2.4.13.
12 years ago
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
67ca942cb5
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
a247c6eaa1
Merge branch 'master' into remove-logbook
12 years ago
Vincent Driessen
4b66d7af41
Merge branch 'master' into job-access-within-job
...
Conflicts:
rq/job.py
12 years ago
Vincent Driessen
fcb5453fb9
Fix changelog text.
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
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