paypal / dce-go

Docker Compose Executor to launch pod of docker containers in Apache Mesos.
Apache License 2.0
63 stars 48 forks source link

0.7.6 DCE-GO #97

Closed JiaminZhu closed 3 years ago

JiaminZhu commented 3 years ago

Today most duration config use type of integer, to make it more readable, update all duration related config under launchtask section from integer to duration string.

A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"

What we have today

launchtask:
   podmonitorinterval: 10000
   retryinterval: 10000
   timeout: 500000

Update it to

launchtask:
   podmonitorinterval: 10s
   retryinterval: 10s
   timeout: 500s