*Motivation*
Java instance main is expecting health check interval in seconds.
*Changes
Make sure the health check interval is passed in seconds.
*Tests*
It fixes following issue
```
14:36:29.528 [FunctionActionerThread] INFO
org.apache.pulsar.functions.runtime.ProcessRuntime - Started process
successfully
Exception in thread "main" java.lang.IllegalArgumentException
at
java.util.concurrent.ScheduledThreadPoolExecutor.scheduleAtFixedRate(ScheduledThreadPoolExecutor.java:565)
at
java.util.concurrent.Executors$DelegatedScheduledExecutorService.scheduleAtFixedRate(Executors.java:735)
at
org.apache.pulsar.functions.runtime.JavaInstanceMain.start(JavaInstanceMain.java:154)
at
org.apache.pulsar.functions.runtime.JavaInstanceMain.main(JavaInstanceMain.java:185)
```
[ Full content available at: https://github.com/apache/pulsar/pull/2684 ]
This message was relayed via gitbox.apache.org for [email protected]