Vincent Driessen
ec0e04727b
Rename `maintenance_date` -> `last_cleaned_at`
2015-06-03 10:13:38 +02:00
Vincent Driessen
891be55b87
Clean up Worker.__init__ logic a little
2015-06-03 10:06:57 +02:00
Vincent Driessen
4d0ae5da98
Clean up type checking of Worker constructor
2015-06-03 09:52:26 +02:00
Vincent Driessen
94258761ae
Make string formatting consistent
2015-06-03 09:43:07 +02:00
Selwin Ong
8f9c507f12
Bump version to 0.5.3.
2015-06-01 11:00:36 +07:00
Selwin Ong
efcdd15902
Update setup.py to ensure Python 2.6 dependencies are installed by pip.
2015-06-01 11:00:26 +07:00
Selwin Ong
7050549d91
Merge pull request #535 from mbodock/master
...
Fixes #502
2015-05-29 15:35:57 +07:00
Marcus Martins
513f6310d2
Change default TTL to None insted of -1
2015-05-28 23:35:30 -03:00
Marcus Martins
ab6c129833
Fix broken tests
2015-05-28 23:31:43 -03:00
Marcus Martins
5b8726ad2d
Fixes #502
...
Fixes some broken tests and misbehaviour with ttls. There was a temporal
coupling between saving the job and setting its expires parameter.
2015-05-28 23:31:43 -03:00
Selwin Ong
8703dbeb17
Merge pull request #539 from brownstein/test-coverage-for-unicode-args
...
Added test coverage for unicode keyword argument support
2015-05-29 08:48:46 +07:00
Robert Brownstein
3d8faa0e5d
Added proper conditional behavior to unicode fixture for python 3
2015-05-28 17:23:04 -04:00
Robert Brownstein
303f4ed47c
Added test coverage for unicode keyword argument support in method signatures ( #536 )
2015-05-28 17:15:18 -04:00
Selwin Ong
f370f79819
Merge pull request #534 from selwin/registry-maintenance
...
Worker automatically cleans job registries every hour
2015-05-28 08:44:10 +08:00
Selwin Ong
f7f998d5cc
Merge pull request #536 from nealtodd/ref_prs_492_406
...
Allow non-ASCII characters in keyword arguments.
2015-05-27 22:06:19 +08:00
Neal Todd
bac6699ea4
Allow non-ASCII characters in keyword arguments.
2015-05-26 17:32:11 +01:00
Selwin Ong
779737f1c9
Merge pull request #531 from RyanMTB/updated_worker_api
...
updated worker api see issue 255
2015-05-23 10:19:16 +07:00
Selwin Ong
c3767e28e2
Worker now runs maintenance tasks every hour and on startup.
2015-05-23 10:08:04 +07:00
Selwin Ong
5782ac10c4
Added worker.clean_registries().
2015-05-23 09:01:25 +07:00
Selwin Ong
faf9d3e668
Added clean_registries(queue) function to clean job registries related to that queue.
2015-05-23 08:46:00 +07:00
RyanMTB
9a00b0eca6
Updated Worker API
2015-05-20 21:48:13 -07:00
Selwin Ong
d51f0200d7
Merge pull request #513 from trevorprater/master
...
Improving logging.
2015-05-20 09:06:09 +07:00
Selwin Ong
719243dbad
Merge pull request #529 from selwin/registry-cleanup-bug
...
Jobs from FinishedJobRegistry should have "failed" as status when moved to FailedQueue
2015-05-20 09:05:49 +07:00
Selwin Ong
70d5f971bd
Jobs from FinishedJobRegistry that are moved to FailedQueue should have "failed" as status.
2015-05-12 17:24:05 +08:00
Selwin Ong
9895cb8dae
Merge pull request #524 from cosminstefanxp/master
...
Enable proper setup of signal handlers for SimpleWorkers
2015-05-11 21:20:44 +08:00
Cosmin Stefan
260f7caf66
Enable proper setup of signale handlers for SimpleWorker as well. fixes #523
...
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.
2015-04-30 12:06:47 +03:00
Vincent Driessen
de1178ce3f
Add Makefile for convenient releasing
2015-04-14 09:24:32 +02:00
Vincent Driessen
8f7322ed10
This is 0.5.2
2015-04-14 09:10:53 +02:00
Vincent Driessen
f651a72a50
Make clearer what are fixture functions
2015-04-12 11:27:58 +02:00
Vincent Driessen
df4d4c8d5d
Make test cases more explicit
2015-04-12 11:15:55 +02:00
Vincent Driessen
82df2ee689
Fix PEP8 issue
2015-04-12 10:29:20 +02:00
Trevor Prater
5674edad61
Changed rqworker shutdown message.
...
- As requested by @nvie and @selwin.
2015-03-28 12:12:04 -04:00
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.
2015-03-27 17:45:33 -04:00
Selwin Ong
cff6fbff41
Merge pull request #477 from glaslos/ttl_tests_fixes
...
TTL tests and fixes
2015-03-25 08:51:30 +07:00
glaslos
071c47dacb
hard-coded TTL to -1 on job.perform()
...
Removed merge artifacts
2015-03-19 15:32:01 +01:00
Selwin Ong
04b8ea481b
Merge pull request #510 from alternativshik/master
...
change try/except in python2/3 compatibility to to_text()
2015-03-19 20:52:54 +07:00
Serhii Maltsev
91f263d8e0
change try/except in python2/3 compatibility to to_text()
2015-03-19 09:48:04 +02:00
Vincent Driessen
35b41965f6
Merge pull request #506 from tamird/dequeue-dont-blow-stack
...
Prevent `Queue#dequeue` from blowing the stack
2015-03-17 08:59:59 +01:00
Tamir Duberstein
a37621a429
Switch to Travis container-based infrastructure
2015-03-16 23:38:56 -07:00
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.
2015-03-16 23:36:49 -07:00
Vincent Driessen
5cb873b438
Fix PEP8 complaint.
2015-03-09 09:34:22 +01:00
Vincent Driessen
cd155299a4
Fix PEP8 complaint.
2015-03-09 09:33:18 +01:00
Vincent Driessen
6c6e53542f
Don't require redis-py 2.10 just for the SSL option.
2015-03-09 09:33:08 +01:00
Vincent Driessen
c6f7978464
Fix non-truth in README.
2015-03-09 09:21:40 +01:00
Vincent Driessen
55907805f6
Merge branch 'zzerk-master'
2015-03-09 09:20:55 +01:00
Vincent Driessen
f374053928
Don't require Redis 2.10.
2015-03-09 09:20:42 +01:00
Vincent Driessen
8505198298
Bump to 0.5.1.
2015-03-09 09:18:48 +01:00
Vincent Driessen
5e57e97b4e
Add changelog for 0.5.1.
2015-03-09 09:18:34 +01:00
Vincent Driessen
5990fa9d73
Merge pull request #499 from vladkens/issue/498
...
ZADD bugfix
2015-03-08 11:39:23 +01:00
Eric Bustarret
8000957009
Update requirements to redis-py 2.10.0
2015-03-06 15:34:07 +01:00