I am create a docker swarm service, If one of the container stops in a service it will immediately schedule docker container in one of available swarm nodes, I want to delay that schedule for 5 second am using docker API. in API version 1.26 docs there it's specify something like this
"RestartPolicy": {
"Condition": "on-failure",
"Delay": 10000000000,
"MaxAttempts": 10
}
what is ( Dealy :10000000000). is it milliseconds or nanoseconds ?