Ilan Steemers
2c88b1aef6
superfluous import removed
2015-07-02 13:53:12 +02:00
Ilan Steemers
5399865f4e
Adds timeout and reincarnation test
...
Also found a bug because of this.
2015-07-02 12:10:18 +02:00
Ilan Steemers
d1930a3de1
Fixes Travis hang up
...
New admin test introduced a task in the queue which was picked up by the cluster on Travis. Switching cluster test to different list key should prevent this.
2015-07-01 12:52:47 +02:00
Ilan Steemers
ba525a9312
Fixes Travis error
...
added failing hook to tests
2015-07-01 12:42:13 +02:00
Ilan Steemers
4e38925cea
Adds timeout mechanism for workers
...
Workers now share a ctype with the sentinel to indicate if they are currently executing a task. This timer is incremented each guard loop until the worker resets it after finishing a job or until it reaches the TIMEOUT value and the worker is terminated by the sentinel.
2015-07-01 10:54:36 +02:00
Ilan Steemers
4096b35adf
Added schedule command
...
* improved schedule tests
* updated README
* bumped up to version 0.1.3
2015-06-30 16:38:08 +02:00
Ilan Steemers
b0423a42d3
Fix import error on travis
2015-06-30 11:01:36 +02:00
Ilan Steemers
482569b312
Rework - configuration now in class - better stop handling under heavy load. - scheduler test - better monitoring - better status reporting
2015-06-30 10:58:24 +02:00
Ilan Steemers
7fd381319c
fixed relative import
2015-06-27 20:07:47 +02:00
Ilan Steemers
b0e738d31b
Passing the redis connection around the cluster to reduce connections
2015-06-27 20:03:32 +02:00
Ilan Steemers
f08773f37d
Improved cluster test
2015-06-26 17:20:09 +02:00
Ilan Steemers
666bdc97dc
* updated README
...
* both func and hook check for callable.
2015-06-26 14:24:25 +02:00
Ilan Steemers
99a44dda45
simple test for monitor
2015-06-25 13:22:16 +02:00