Commit Graph

321 Commits (6b0ebe9ceb6f8b0ce53cfaf15d59acf87af12e5a)
 

Author SHA1 Message Date
Vincent Driessen 6b79e51033 PEP8ify.
Vincent Driessen 35dedf3db4 Make test descriptions show up in short (oneliner) mode, as ./run_tests does.
Vincent Driessen ea19bdc910 Merge branch 'new-enqueue' into selwin-decorator
Vincent Driessen abac4a5f41 Since we only have the timeout option, don't be too generic.
Selwin Ong 8c3292d35b Make "queue" argument in job decorator required.
job decorator now uses Queue's "enqueue_call" method.
Vincent Driessen d66939ff4a Don't use the (internal) .enqueue_call() in unit tests.
Selwin Ong ae97f862dc Merge branch 'master' into decorator
Vincent Driessen f6374f2dfa Add new way of invoking .enqueue(), either implicitly or explicitly.
Vincent Driessen 37404b9e09 Update changelog.
Vincent Driessen e6bb7de8c0 Get rid of the ambiguity when passing the timeout argument to .enqueue() calls.
Vincent Driessen f6e67431d7 Refactor the .enqueue() API to not gobble the timeout kwargs.
This fixes .
Vincent Driessen 8436d9b2c8 PEP8ify.
Selwin Ong bdc1af28d1 Added a job decorator.
Vincent Driessen b7d1fab2db Prepare changelog for next version.
Vincent Driessen a2b9c6ce86 Bump the version.
Vincent Driessen 1a178d673b Fix bug where results wasn't correctly unpickled when refreshing from Redis.
Vincent Driessen a9c6795b0e Add new release section.
Vincent Driessen 987e8fe77f Bump version.
Vincent Driessen 1ae51018d2 Update changelog for the upcoming release.
Vincent Driessen 0b66bbaab1 Merge branch 'sleekslush-master'
Vincent Driessen a032896453 Add means of specifying the job function using strings.
Vincent Driessen 3a8f30a53e Add test.
Vincent Driessen 84988bdf94 Fix typo.
This fixes .
Vincent Driessen 074af72536 Minor fix for empty dict check.
Selwin Ong 809874ee83 Don't store Job's "_instance" attribute in Redis.
Vincent Driessen bd4793f116 Add way of running tests unfiltered.
Vincent Driessen 1d95a35cc6 More portable way of checking whether a command exists.
Vincent Driessen b0a42f4e25 Add Travis CI configuration file.
Vincent Driessen 604fce99a1 Merge with master.
Selwin Ong 1fb0a1bfac Modified ``Job`` ``save`` and ``refresh`` methods to support persisting
additional ``Job`` attributes into Redis.
Vincent Driessen cfbbc3d0ea Merge remote-tracking branch 'omarkhan/instance_methods'
Omar Khan 03bd49511d Allow instance methods to be enqueued
Only works for picklable instances
Goran Peretin 34d161eb11 requeueing preserves job timeout
Goran Peretin 317a58a3b5 quarantine preserves job timeout
Vincent Driessen 8bf0b8eb93 Merge pull request from jonasvp/master
Use a non-zero exit code on errors in scripts
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.
Vincent Driessen 5c11ea6296 Merge pull request from jonasvp/master
safe_fetch() didn't pass connection to Job.fetch()

Thanks @jonasvp!
Jonas 415a159ac3 Pass connection explicitly to Job.fetch
Vincent Driessen 074d42fe54 Remove strict procname dependency.
This fixes .
Craig Slusher 2729b5435f Uses push_connection() and pop_connection()
Vincent Driessen b8430ffc0f Don't use 'from rq import *'.
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

;)
Jeffrey Gelens 31259fa106 Fixed examples. use_connection is now being used.
Vincent Driessen 697a4a89f8 Actually use any given default_timeout for queues.
Vincent Driessen a5d9ed0a0d Add change notes.
Vincent Driessen 12c5189706 Merge pull request from selwin/worker-connection
Make "connection" argument passing-around consistent to work with Workers, too.
Vincent Driessen f5951900c8 Make unit tests compatible with Python < 2.7.
Vincent Driessen b45770cd3c Fix unit test expressions.
Selwin Ong 50ba003cee Worker's "all" and "find_by_key" methods should accept "connection" as argument.
Vincent Driessen c423cab770 Bump version number.