Vincent Driessen
a1d08a64fc
Add @wraps() call.
13 years ago
Vincent Driessen
6b79e51033
PEP8ify.
13 years ago
Vincent Driessen
35dedf3db4
Make test descriptions show up in short (oneliner) mode, as ./run_tests does.
13 years ago
Vincent Driessen
ea19bdc910
Merge branch 'new-enqueue' into selwin-decorator
13 years ago
Vincent Driessen
abac4a5f41
Since we only have the timeout option, don't be too generic.
13 years ago
Selwin Ong
8c3292d35b
Make "queue" argument in job decorator required.
...
job decorator now uses Queue's "enqueue_call" method.
13 years ago
Vincent Driessen
d66939ff4a
Don't use the (internal) .enqueue_call() in unit tests.
13 years ago
Selwin Ong
ae97f862dc
Merge branch 'master' into decorator
13 years ago
Vincent Driessen
f6374f2dfa
Add new way of invoking .enqueue(), either implicitly or explicitly.
13 years ago
Vincent Driessen
37404b9e09
Update changelog.
13 years ago
Vincent Driessen
e6bb7de8c0
Get rid of the ambiguity when passing the timeout argument to .enqueue() calls.
13 years ago
Vincent Driessen
f6e67431d7
Refactor the .enqueue() API to not gobble the timeout kwargs.
...
This fixes #98 .
13 years ago
Vincent Driessen
8436d9b2c8
PEP8ify.
13 years ago
Selwin Ong
bdc1af28d1
Added a job decorator.
13 years ago
Vincent Driessen
b7d1fab2db
Prepare changelog for next version.
13 years ago
Vincent Driessen
a2b9c6ce86
Bump the version.
13 years ago
Vincent Driessen
1a178d673b
Fix bug where results wasn't correctly unpickled when refreshing from Redis.
13 years ago
Vincent Driessen
a9c6795b0e
Add new release section.
13 years ago
Vincent Driessen
987e8fe77f
Bump version.
13 years ago
Vincent Driessen
1ae51018d2
Update changelog for the upcoming release.
13 years ago
Vincent Driessen
0b66bbaab1
Merge branch 'sleekslush-master'
13 years ago
Vincent Driessen
a032896453
Add means of specifying the job function using strings.
13 years ago
Vincent Driessen
3a8f30a53e
Add test.
13 years ago
Vincent Driessen
84988bdf94
Fix typo.
...
This fixes #85 .
13 years ago
Vincent Driessen
074af72536
Minor fix for empty dict check.
13 years ago
Selwin Ong
809874ee83
Don't store Job's "_instance" attribute in Redis.
13 years ago
Vincent Driessen
bd4793f116
Add way of running tests unfiltered.
13 years ago
Vincent Driessen
1d95a35cc6
More portable way of checking whether a command exists.
13 years ago
Vincent Driessen
b0a42f4e25
Add Travis CI configuration file.
13 years ago
Vincent Driessen
604fce99a1
Merge with master.
13 years ago
Selwin Ong
1fb0a1bfac
Modified ``Job`` ``save`` and ``refresh`` methods to support persisting
...
additional ``Job`` attributes into Redis.
13 years ago
Vincent Driessen
cfbbc3d0ea
Merge remote-tracking branch 'omarkhan/instance_methods'
13 years ago
Omar Khan
03bd49511d
Allow instance methods to be enqueued
...
Only works for picklable instances
13 years ago
Goran Peretin
34d161eb11
requeueing preserves job timeout
13 years ago
Goran Peretin
317a58a3b5
quarantine preserves job timeout
13 years ago
Vincent Driessen
8bf0b8eb93
Merge pull request #84 from jonasvp/master
...
Use a non-zero exit code on errors in scripts
13 years ago
Jonas
c99cab71cd
Use a non-zero exitcode on errors in scripts
...
When a worker can't connect to Redis, return
a non-zero exit code so supervisor processes
can act accordingly.
13 years ago
Vincent Driessen
5c11ea6296
Merge pull request #83 from jonasvp/master
...
safe_fetch() didn't pass connection to Job.fetch()
Thanks @jonasvp!
13 years ago
Jonas
415a159ac3
Pass connection explicitly to Job.fetch
13 years ago
Vincent Driessen
074d42fe54
Remove strict procname dependency.
...
This fixes #80 .
13 years ago
Craig Slusher
2729b5435f
Uses push_connection() and pop_connection()
13 years ago
Vincent Driessen
b8430ffc0f
Don't use 'from rq import *'.
13 years ago
Vincent Driessen
48cee215af
Rewrite of the connection setup.
...
I'd want to advice against using `use_connection()` more, as the
connection setup is less explicit, and also pollutes global memory.
Because, well:
$ python -m this | head -n4 | tail -n1
;)
13 years ago
Jeffrey Gelens
31259fa106
Fixed examples. use_connection is now being used.
13 years ago
Vincent Driessen
697a4a89f8
Actually use any given default_timeout for queues.
13 years ago
Vincent Driessen
a5d9ed0a0d
Add change notes.
13 years ago
Vincent Driessen
12c5189706
Merge pull request #71 from selwin/worker-connection
...
Make "connection" argument passing-around consistent to work with Workers, too.
13 years ago
Vincent Driessen
f5951900c8
Make unit tests compatible with Python < 2.7.
13 years ago
Vincent Driessen
b45770cd3c
Fix unit test expressions.
13 years ago
Selwin Ong
50ba003cee
Worker's "all" and "find_by_key" methods should accept "connection" as argument.
13 years ago