Add changes to the change log.

main
Vincent Driessen 13 years ago
parent a1d08a64fc
commit bfc3c3d89e

@ -1,8 +1,22 @@
### 0.3.0 ### 0.3.0
(not released) (not released)
- Removes the possible ambiguity of passing in a `timeout` argument to - `.enqueue()` does not consume the `timeout` kwarg anymore. Instead, to pass
`.enqueue()`. Instead, now use the `.enqueue_call()` method. RQ a timeout value while enqueueing a function, use the explicit invocation
instead:
q.enqueue(do_something, args=(1, 2), kwargs={'a': 1}, timeout=30)
- Add a `@job` decorator, which can be used to do Celery-style delayed
invocations:
from rq.decorators import job
@job('high', timeout=10)
def some_work(x, y):
return x + y
some_work.delay(2, 3)
### 0.2.1 ### 0.2.1

Loading…
Cancel
Save