1750 Commits (08cb311c554bdfd3ccaa846b6e3fbd1971b32310)
 

Author SHA1 Message Date
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
Vincent Driessen c423cab770 Bump version number. 13 years ago
Vincent Driessen 8aaa975fa9 Find all packages.
This fixes #67.
13 years ago
Vincent Driessen f958d26dfd Add change log. 13 years ago
Vincent Driessen 7c69ad9182 Bump the version number. 13 years ago
Vincent Driessen 11f91508c6 Merge pull request #63 from selwin/master
Queue.lpop now takes connection as an argument. Thanks, @selwin!
13 years ago
Vincent Driessen b47fc4aa14 Merge pull request #59 from wichert/console-scripts
Refactor scripts. Thanks, @wichert!
13 years ago
Selwin Ong 5989228330 Queue.lpop should take connection as argument. 13 years ago
Wichert Akkerman ec0e4776b4 Move common code out. 13 years ago
Wichert Akkerman 9f7d608da8 Renaming typo.. 13 years ago
Wichert Akkerman 2d4a58631d PyFlakes 13 years ago
Wichert Akkerman 97d2e4d784 Use console_scripts instead of scripts.
Unfortunately zc.buildout does not support distribute/setuptools script
option (see https://bugs.launchpad.net/zc.buildout/+bug/422724), but it
does support console_scripts. This also makes the scripts importable,
allowing for unittest and code reuse.
13 years ago
Vincent Driessen 1d27223069 Merge pull request #56 from mattdennewitz/master
Class methods use given class, not hard-coded class
13 years ago
mattdennewitz 9f2f9e367c Class methods now use given "cls" 13 years ago
Vincent Driessen bbfe621bd1 Mention python-requests.org, for completeness sake. 13 years ago
Vincent Driessen 42c3b593f9 Fix typo in basic example. 13 years ago
Vincent Driessen b886ba76de Fix AttributeError. 13 years ago
Vincent Driessen c337afde3a Make the connection stack thread safe.
For this, I've included Werkzeug's context locals, which offers both
thread and greenlet safe local variables.

This fixes #47.
13 years ago
Vincent Driessen 282f4be931 Merge branch 'total-ordering-fix' 13 years ago
Vincent Driessen 25d3f94c9f Use the true Python 2.7 stdlib implementation instead. 13 years ago
Vincent Driessen 4885458dde Move this hack to a separate file. 13 years ago
Vincent Driessen c642df93b9 Don't use dict comprehension. It's Python 2.7 only.
This fixes #51.
13 years ago
aiko1895 d26db69cbd added backport of total_ordering to work with 2.6 13 years ago