1702 Commits (acdeff385daf5157e6646dfb47a02f92e6b19b3a)
 

Author SHA1 Message Date
Selwin Ong 4b8e615644 Changed docs to use Github compatible code block markup 6 years ago
Selwin Ong fc8dd95377 Fixed CSS styles for code blocks. 6 years ago
Selwin Ong 7d6cccb654 Try out an alternate way to indicate code blocks in docs 6 years ago
Wolfgang Langner 7a6abb4738 Fix collections abc import deprecation warning. (#1032)
* Fix collections abc import.
Prepare for 3.8 when it is deprecated.

* Fix Pyton 2.7 build.
6 years ago
Finnci 14db0ecd26 Update/add flag for description logging (#991)
* test workers

* indent

* add docs and add option to the cli

* rename flag for cli

* logging
6 years ago
Wolfgang Langner 972778d041 Fix run_tests to use pytest. (#1033)
Update tox.ini envlist.
6 years ago
Wolfgang Langner 7893168c87 Remove Python 3.3 support. (#1031)
* Remove Python 3.3 support.
Redis >= 3.X does only support Python >=3.4.
Python 3.7 is no longer dev.

* Use dev for Python 3.7 build again.
6 years ago
Selwin Ong bf0b4308fd Bump version to 0.13.0 6 years ago
Selwin Ong 22f004f7d6
Updated requirements.txt on Heroku docs 6 years ago
Samuel Colvin 2f35222ddb skip test_1_sec_shutdown with pypy (#1020)
* skip test_1_sec_shutdown with pypy, fix #1019

* skip all HerokuWorkerShutdownTestCase with pypy
6 years ago
Darshan Rai ada2ad03ca modify zadd calls for redis-py 3.0 (#1016)
* modify zadd calls for redis-py 3.0

redis-py 3.0 changes the zadd interface that accepts a single
mapping argument that is expected to be a dict.
https://github.com/andymccurdy/redis-py#mset-msetnx-and-zadd

* change FailedQueue.push_job_id to always push a str

redis-py 3.0 does not attempt to cast values to str and is left
to the user.

* remove Redis connection patching

Since in redis-py 3.0, Redis == StrictRedis class, we no longer
need to patch _zadd and other methods.
Ref: https://github.com/rq/rq/pull/1016#issuecomment-441010847
6 years ago
Selwin Ong 6559b0ffd7
Replace "timeout" argument in queue.enqueue() with "job_timeout" (#1010) 6 years ago
Michael Abrahamsen d4261f165c fix typo - change -> chance (#1012) 6 years ago
Selwin Ong 4d17d226f4 Document Job.fetch() and job attributes. 6 years ago
John Stowers eaf598d73c Pass job_id to death penalty class (#936)
This allows custom workers to use associated
custom Timeout classes and apply custom timeouts
or less messy death methods
6 years ago
Selwin Ong ad66d872f0 Fixed a unicode test. 6 years ago
Selwin Ong 47d291771f
SimpleWorker's ttl must always be longer than jobs. (#1002) 6 years ago
Qingping Hou 051104b0ff support workder name override from config file (#947)
* support workder name override from config file

* update docs for NAME config

* Update workers.md
6 years ago
Selwin Ong e00ff97867
Fix heroku worker (#993)
* Attempt to fix HerokuWorker test.

* Fixed test_shutdown_double_sigrtmin

* Another attempt to fix test

* Another attempt to fix test

* Another attempt to fix test

* When work horse runs into an exception, raise that exception before calling os._exit()
6 years ago
Selwin Ong 25f2b75b1f Horse should exit with return code 1 if it raises an exception 6 years ago
Selwin Ong 4759c43067 horse should always call os._exit(0) 6 years ago
shikharsg cc19d1a89e added logging formatting options (#979)
* added logging formatting options

* added docs for log formatting options

* fixed naming format
6 years ago
Paul Robertson e86fb57366 add is_async property to queue (#982) 6 years ago
Aly Sivji a2f245a0c1 Change print statement to print function in docs (#985) 6 years ago
Selwin Ong 6a376191d9 Bump version to 0.12.0 7 years ago
chevell c2b939d2df Replace 'async' keyword with 'is_async' for Queue objects (#977)
* Replaced async keyword with is_async in the Queue class to fix reserved keyword syntax errors in Python 3.7

* Updated tests to use is_async keyword when instantiating Queue objects

* Updated docs to reference is_async keyword for Queue objects

* Updated tox.ini, setup.py and .travis.yml with references to Python 3.7
7 years ago
Patrick 9c32a80d11 Windows Clarification (#967)
You can use WSL and run RQ and Redis on Windows by running them in a bash shell within windows.
7 years ago
Selwin Ong a5596caf42 Bump version to 0.11.0 7 years ago
Theofanis Despoudis 875cc27c2f #908 Using a timeout string value for job works (#955)
Fixes https://github.com/rq/rq/issues/908
7 years ago
Theofanis Despoudis d6b12c2402 Issue 872 (#954)
* Fixes #872 - Use -1 to indicate infinite ttl

* Fixes #872 Restored comma

* #872 Code review fix
7 years ago
Selwin Ong 531fde8e3c worker.main_work_horse should always return 0 7 years ago
Selwin Ong 0a47717fd2
Clarifying "timeout" argument in docs 7 years ago
Thomas Kriechbaumer 3133d94b58 add periodic worker heartbeats (#945)
* add periodic worker heartbeats

fixes #944

* improve worker default option handling
7 years ago
Selwin Ong 63a04d275e Use dbsize() to test for empty Redis database 7 years ago
Theofanis Despoudis bc8d4a087a Fixes issue #934 - Documented Queue.delete (#951)
* Fixes issue #934 - Documented Queue.delete

Fixes issue #934 - Code review fix

* Minor doc update
7 years ago
Selwin Ong 8b57842ea3 Modified docs to use emphasize the best way to configure exception handlers. 7 years ago
Selwin Ong c639018fb9 Registry objects can be instantiated by passing a queue object. 7 years ago
Selwin Ong 0ec8030d28 Document rq worker command arguments. 7 years ago
stj 487ef72f21 Define redis key prefix as class variable (#939)
* Define redis key prefix as class variable

Some prefixes were hardcoded in several places. This made it hard to
use custom prefixes via subclasses.

Resolves #920

* fixup! Define redis key prefix as class variable
7 years ago
Selwin Ong 936f2f19f6 Fixed broken image link in docs. 7 years ago
Selwin Ong 28bbeca66a Add docs folder. 7 years ago
Christophe Olinger a6eb5d37ee Delete dependents of job explicitely (#916)
* Initial take on delete_dependents

* Add tests including corner cases

* No need to canel dependents since they are not in a queue yet anyway

* The dependents keys can be deleted in all cases

* Update tests to included saved jobs in the deletion tests

* Correctly use pipeline in cancel method

* Unused connection

* Include dependents into dict format of job

* Add TODO

* Address comments from selwin

* Delete dependents key in redis if delete_dependents is called on its own

* Address recent comments from selwin

* Small change to trigger travis

* Remove TODO referring to canceled job state

* Remove dependent_ids from to_dict

* Address recent comments from selwin
7 years ago
Łukasz Wałejko 0a0e37bc50 Added pytest to dev-dependencies (#923) 7 years ago
Selwin Ong ce94d6e3a9
Added codecov badge 7 years ago
Selwin Ong c8dd92d18b
Install codecov 7 years ago
Selwin Ong 95f80ff4fe
Updated TravisCI badge 7 years ago
Selwin Ong afbbe47dbb Merge branch 'master' of github.com:nvie/rq 7 years ago
Vincent Driessen e0cca18d31 Test 7 years ago
Selwin Ong 17df38badb
Remove caniusepython3 badge 7 years ago
Selwin Ong 995492878d Added v0.10.0 release notes.; 7 years ago