Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently, the client's protocol handler retry code which handles no tasks available scenario uses hard coded values for retry count and wait time between retries. Both of these params should be configurable by an application.
Both the DuccServiceDriver and DuccServiceProtocolHandler expose initialize() method with a single param of type Properties. Through this interface an application can pass in both properties using new property names defined in ServiceDriver class:
public static String DriverTaskRetryCount = "driver.task.retry.count";
public static String DriverTaskWaitTime = "driver.task.wait.time.millis";