-
Enhancement
-
Resolution: Fixed
-
P4
-
None
Several developers on the forums have asked for a Service which would be able to restart. Typically this is used for doing things such as setting up a polling service which hits a remote web service at some regular interval. There are several complicating factors. First, to support this, some minor API change must be made to create a protected method in Service so that a subclass of service can implement this behavior. Second, the API on ScheduledService will need to take into account a variety of things such as how to handle failures (do you restart after a failure? Do you increase the delay between iterations on a failure (back-off)?), as well as how to handle iteration delays (so you can not poll constantly -- or you can, whatever you like).
The estimation is that this feature will take 4 days for complete development including testing. For what it is worth, the first version took 1/2 a day to implement (about 4 hours). I am going to start off by targeting this at 2.1 and see how far we get.
The estimation is that this feature will take 4 days for complete development including testing. For what it is worth, the first version took 1/2 a day to implement (about 4 hours). I am going to start off by targeting this at 2.1 and see how far we get.