mirror of https://github.com/hashicorp/consul
Browse Source
used to schedule a TTL check. e.g. d := lib.DurationMinusBuffer(60 * time.Duration, 10 * time.Second, 16) will return a duration between 46.875s and 50s.pull/1973/head
Sean Chittenden
9 years ago
2 changed files with 25 additions and 0 deletions
Loading…
Reference in new issue