Files
nomad/client
Michael Schurter 0e6da17a8f vault: fix renewal time
Renewal time was being calculated as 10s+Intn(lease-10s), so the renewal
time could be very rapid or within 1s of the deadline: [10s, lease)

This commit fixes the renewal time by calculating it as:

	(lease/2) +/- 10s

For a lease of 60s this means the renewal will occur in [20s, 40s).
2019-04-16 11:22:44 -07:00
..
2019-01-22 15:44:31 -08:00
2019-01-22 15:44:31 -08:00
2019-01-14 09:56:53 -08:00
2019-04-01 16:52:58 -04:00
2019-04-01 16:52:58 -04:00
2019-03-04 12:25:54 -06:00
2018-10-16 16:56:55 -07:00
2019-03-04 13:37:20 -08:00
2019-04-09 09:01:48 -07:00
2019-02-20 07:41:47 -05:00
2019-04-16 11:22:44 -07:00
2018-10-16 16:53:30 -07:00
2019-04-11 10:29:40 -04:00
2019-01-11 11:36:37 -08:00
2019-01-09 09:22:47 -05:00
2019-01-23 06:27:14 -08:00
2018-10-16 16:53:29 -07:00