Commit Graph

935 Commits (faf9d3e66838a71e5b2e28add0a503e3fdc4fa03)
 

Author SHA1 Message Date
Selwin Ong faf9d3e668 Added clean_registries(queue) function to clean job registries related to that queue.
Selwin Ong d51f0200d7 Merge pull request from trevorprater/master
Improving logging.
Selwin Ong 719243dbad Merge pull request from selwin/registry-cleanup-bug
Jobs from FinishedJobRegistry should have "failed" as status when moved to FailedQueue
Selwin Ong 70d5f971bd Jobs from FinishedJobRegistry that are moved to FailedQueue should have "failed" as status.
Selwin Ong 9895cb8dae Merge pull request from cosminstefanxp/master
Enable proper setup of signal handlers for SimpleWorkers
Cosmin Stefan 260f7caf66 Enable proper setup of signale handlers for SimpleWorker as well. fixes
This allows a SIGTERM to make the worker perform a warm shutdown and cleanly break out of the loop and finish the current job, if any.
Vincent Driessen de1178ce3f Add Makefile for convenient releasing
Vincent Driessen 8f7322ed10 This is 0.5.2
Vincent Driessen f651a72a50 Make clearer what are fixture functions
Vincent Driessen df4d4c8d5d Make test cases more explicit
Vincent Driessen 82df2ee689 Fix PEP8 issue
Trevor Prater 5674edad61 Changed rqworker shutdown message.
- As requested by @nvie and @selwin.
Trevor Prater fd1dca40b9 Improving logging.
- Include worker key in worker startup log statement.
- Added a notification to make it more clear when a 'burst' worker dies.
Selwin Ong cff6fbff41 Merge pull request from glaslos/ttl_tests_fixes
TTL tests and fixes
glaslos 071c47dacb hard-coded TTL to -1 on job.perform()
Removed merge artifacts
Selwin Ong 04b8ea481b Merge pull request from alternativshik/master
change try/except in python2/3 compatibility to to_text()
Serhii Maltsev 91f263d8e0 change try/except in python2/3 compatibility to to_text()
Vincent Driessen 35b41965f6 Merge pull request from tamird/dequeue-dont-blow-stack
Prevent `Queue#dequeue` from blowing the stack
Tamir Duberstein a37621a429 Switch to Travis container-based infrastructure
Tamir Duberstein 985a2664a4 Prevent `Queue#dequeue` from blowing the stack
In the case of many sequential jobs having been deleted, a recursive
implementation of `Queue#dequeue` is prone to blowing the stack in the
absence of tail-recursion support. Change the implementation from
recursive to iterative to work around this issue in CPython.
Vincent Driessen 5cb873b438 Fix PEP8 complaint.
Vincent Driessen cd155299a4 Fix PEP8 complaint.
Vincent Driessen 6c6e53542f Don't require redis-py 2.10 just for the SSL option.
Vincent Driessen c6f7978464 Fix non-truth in README.
Vincent Driessen 55907805f6 Merge branch 'zzerk-master'
Vincent Driessen f374053928 Don't require Redis 2.10.
Vincent Driessen 8505198298 Bump to 0.5.1.
Vincent Driessen 5e57e97b4e Add changelog for 0.5.1.
Vincent Driessen 5990fa9d73 Merge pull request from vladkens/issue/498
ZADD bugfix
Eric Bustarret 8000957009 Update requirements to redis-py 2.10.0
Vincent Driessen 2176629737 Merge pull request from zzerk/master
Add REDIS_SSL option in worker config file
Eric Bustarret 9fba806662 Add REDIS_SSL option
Allow the worker to connect to a Redis instance through SSL (ex: Azure
Redis Cache use SSL only by default)
Vlad Pronsky 933e6697cd Fixed redis drivers bug
glaslos 3d4d6a86d5 persist the job right before execution
glaslos 24d5e08992 Merge branch 'master' into ttl_tests_fixes
Conflicts:
	tests/test_job.py
Selwin Ong 30b21ef06e Merge pull request from marklap/workerbirthdeath
add birth_date and death_date properties to Worker
Mark LaPerriere 636a537fa7 updates addressing @selwin comments for PR
Vincent Driessen 09b08e46ce Merge pull request from ta2-1/master
Add missed `multi` command after `watch`
Taras Semenenko 3dfd044767 Add missed `multi` command after `watch`
`watch` command should be used in conjunction with `multi` command
which was missed in enqueuing of job with dependencies.
Fix 
Selwin Ong 5bcca82ea4 Merge pull request from dwaynebailey/master
Allow non-ASCII characters in arguments
alternativshik 219f21b637 Allow non-ASCII characters in arguments
get_call_string() failed if any arguments contained non-ASCII strings.

Fixes 
Vincent Driessen dd75af92a4 Merge pull request from selwin/connection-params
Restored the ability to specify connection params in config
Selwin Ong 1005222371 Restored the ability to specify connection params in config
Selwin Ong 74db5de74e Merge pull request from glaslos/optimized_lrem
lrem only first occurrence of the job id (we expect only one)
glaslos c155918d6d lrem only first occurrence of the job id (we expect only one)
Mark LaPerriere a4ca4704ac convert redis returned bytes into text/string
Mark LaPerriere 450c5969aa call register birth in the register birth test
Mark LaPerriere af5a8624a6 add tests for birth and death worker methods
Mark LaPerriere cfe3da287a updated branch to latest
Selwin Ong a1a89217ea Merge pull request from shvechikov/patch-1
Tiny fix of the indefinite article before "RQ"