Vincent Driessen
84988bdf94
Fix typo.
...
This fixes #85 .
2012-07-18 14:10:57 +02:00
Vincent Driessen
074af72536
Minor fix for empty dict check.
2012-07-18 12:55:34 +02:00
Selwin Ong
809874ee83
Don't store Job's "_instance" attribute in Redis.
2012-07-18 17:36:41 +07:00
Vincent Driessen
bd4793f116
Add way of running tests unfiltered.
2012-07-18 09:45:18 +02:00
Vincent Driessen
1d95a35cc6
More portable way of checking whether a command exists.
2012-07-18 09:36:33 +02:00
Vincent Driessen
b0a42f4e25
Add Travis CI configuration file.
2012-07-18 09:32:36 +02:00
Vincent Driessen
604fce99a1
Merge with master.
2012-07-17 22:37:03 +02:00
Selwin Ong
1fb0a1bfac
Modified ``Job`` ``save`` and ``refresh`` methods to support persisting
...
additional ``Job`` attributes into Redis.
2012-07-17 20:23:01 +07:00
Vincent Driessen
cfbbc3d0ea
Merge remote-tracking branch 'omarkhan/instance_methods'
2012-07-17 14:09:45 +02:00
Omar Khan
03bd49511d
Allow instance methods to be enqueued
...
Only works for picklable instances
2012-07-17 11:48:41 +01:00
Goran Peretin
34d161eb11
requeueing preserves job timeout
2012-07-17 08:41:24 +02:00
Goran Peretin
317a58a3b5
quarantine preserves job timeout
2012-07-17 08:39:20 +02:00
Vincent Driessen
8bf0b8eb93
Merge pull request #84 from jonasvp/master
...
Use a non-zero exit code on errors in scripts
2012-07-09 06:27:20 -07:00
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.
2012-06-19 10:12:33 +02:00
Vincent Driessen
5c11ea6296
Merge pull request #83 from jonasvp/master
...
safe_fetch() didn't pass connection to Job.fetch()
Thanks @jonasvp!
2012-06-08 06:24:36 -07:00
Jonas
415a159ac3
Pass connection explicitly to Job.fetch
2012-06-08 15:20:23 +02:00
Vincent Driessen
074d42fe54
Remove strict procname dependency.
...
This fixes #80 .
2012-06-03 22:08:50 +02:00
Vincent Driessen
b8430ffc0f
Don't use 'from rq import *'.
2012-05-21 08:13:58 +02:00
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
;)
2012-05-21 08:08:59 +02:00
Jeffrey Gelens
31259fa106
Fixed examples. use_connection is now being used.
2012-05-20 23:49:08 +02:00
Vincent Driessen
697a4a89f8
Actually use any given default_timeout for queues.
2012-05-20 16:45:54 +02:00
Vincent Driessen
a5d9ed0a0d
Add change notes.
2012-05-20 16:09:57 +02:00
Vincent Driessen
12c5189706
Merge pull request #71 from selwin/worker-connection
...
Make "connection" argument passing-around consistent to work with Workers, too.
2012-05-20 07:06:19 -07:00
Vincent Driessen
f5951900c8
Make unit tests compatible with Python < 2.7.
2012-05-18 08:35:23 +02:00
Vincent Driessen
b45770cd3c
Fix unit test expressions.
2012-05-18 08:35:02 +02:00
Selwin Ong
50ba003cee
Worker's "all" and "find_by_key" methods should accept "connection" as argument.
2012-05-16 11:03:34 +07:00
Vincent Driessen
c423cab770
Bump version number.
2012-05-15 08:38:10 +02:00
Vincent Driessen
8aaa975fa9
Find all packages.
...
This fixes #67 .
2012-05-15 08:37:11 +02:00
Vincent Driessen
f958d26dfd
Add change log.
2012-05-14 08:41:56 +02:00
Vincent Driessen
7c69ad9182
Bump the version number.
2012-05-08 15:21:17 +02:00
Vincent Driessen
11f91508c6
Merge pull request #63 from selwin/master
...
Queue.lpop now takes connection as an argument. Thanks, @selwin!
2012-05-08 06:00:44 -07:00
Vincent Driessen
b47fc4aa14
Merge pull request #59 from wichert/console-scripts
...
Refactor scripts. Thanks, @wichert!
2012-05-08 05:59:32 -07:00
Selwin Ong
5989228330
Queue.lpop should take connection as argument.
2012-05-08 16:39:09 +07:00
Wichert Akkerman
ec0e4776b4
Move common code out.
2012-05-04 10:04:37 +02:00
Wichert Akkerman
9f7d608da8
Renaming typo..
2012-05-04 10:00:31 +02:00
Wichert Akkerman
2d4a58631d
PyFlakes
2012-05-04 09:57:44 +02:00
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.
2012-05-04 09:49:18 +02:00
Vincent Driessen
1d27223069
Merge pull request #56 from mattdennewitz/master
...
Class methods use given class, not hard-coded class
2012-04-19 10:23:28 -07:00
mattdennewitz
9f2f9e367c
Class methods now use given "cls"
2012-04-18 10:54:52 -05:00
Vincent Driessen
bbfe621bd1
Mention python-requests.org, for completeness sake.
2012-04-02 08:37:47 +02:00
Vincent Driessen
42c3b593f9
Fix typo in basic example.
2012-04-02 00:33:44 +02:00
Vincent Driessen
b886ba76de
Fix AttributeError.
2012-04-02 00:32:59 +02:00
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 .
2012-04-01 19:50:45 +02:00
Vincent Driessen
282f4be931
Merge branch 'total-ordering-fix'
2012-04-01 09:25:51 +02:00
Vincent Driessen
25d3f94c9f
Use the true Python 2.7 stdlib implementation instead.
2012-04-01 09:25:27 +02:00
Vincent Driessen
4885458dde
Move this hack to a separate file.
2012-04-01 09:22:39 +02:00
Vincent Driessen
c642df93b9
Don't use dict comprehension. It's Python 2.7 only.
...
This fixes #51 .
2012-04-01 08:48:46 +02:00
aiko1895
d26db69cbd
added backport of total_ordering to work with 2.6
2012-03-31 15:49:48 +03:00
Vincent Driessen
100d23b72e
Tag the first public release.
2012-03-28 22:17:40 +02:00
Vincent Driessen
ccc9abd8fa
Fix wording.
2012-03-28 10:57:01 +02:00