Commit Graph

946 Commits (5b8726ad2d8bce4d7c947af2bb6c5bd8f060452b)
 

Author SHA1 Message Date
Marcus Martins 5b8726ad2d Fixes
Fixes some broken tests and misbehaviour with ttls. There was a temporal
coupling between saving the job and setting its expires parameter.
Selwin Ong 8703dbeb17 Merge pull request from brownstein/test-coverage-for-unicode-args
Added test coverage for unicode keyword argument support
Robert Brownstein 3d8faa0e5d Added proper conditional behavior to unicode fixture for python 3
Robert Brownstein 303f4ed47c Added test coverage for unicode keyword argument support in method signatures ()
Selwin Ong f370f79819 Merge pull request from selwin/registry-maintenance
Worker automatically cleans job registries every hour
Selwin Ong f7f998d5cc Merge pull request from nealtodd/ref_prs_492_406
Allow non-ASCII characters in keyword arguments.
Neal Todd bac6699ea4 Allow non-ASCII characters in keyword arguments.
Selwin Ong 779737f1c9 Merge pull request from RyanMTB/updated_worker_api
updated worker api see issue 255
Selwin Ong c3767e28e2 Worker now runs maintenance tasks every hour and on startup.
Selwin Ong 5782ac10c4 Added worker.clean_registries().
Selwin Ong faf9d3e668 Added clean_registries(queue) function to clean job registries related to that queue.
RyanMTB 9a00b0eca6 Updated Worker API
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