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-02-19 07:44:14 -08:00
2019-04-15 14:11:58 -07:00
2019-01-22 15:44:31 -08:00
2019-01-23 06:27:14 -08:00
2019-01-14 09:56:53 -08:00
2019-03-04 13:37:20 -08:00
2019-04-11 10:29:40 -04:00
2018-11-16 10:26:32 -05: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
2018-11-14 14:41:19 -05:00
2019-04-09 09:01:48 -07:00
2019-04-12 15:06:34 +00:00
2019-02-20 07:41:47 -05:00
2019-04-16 11:22:44 -07:00
2018-10-17 10:06:59 -07:00
2018-10-16 16:53:30 -07:00
2019-04-11 14:25:49 +02:00
2019-04-11 14:25:49 +02:00
2019-01-10 10:10:11 -05:00
2018-10-17 10:06:59 -07:00
2018-02-15 13:59:02 -08:00
2019-04-11 10:29:40 -04:00
2019-04-11 10:29:40 -04:00
2019-02-26 10:54:16 -05:00
2018-12-18 22:55:18 -05:00
2019-01-23 06:27:14 -08:00
2019-01-18 21:26:48 -05:00
2018-10-16 16:56:55 -07:00
2018-12-19 15:48:02 -08:00
2019-01-11 11:36:37 -08:00
2018-12-20 00:53:44 -05:00
2018-10-17 10:06:59 -07: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
2018-10-16 16:53:29 -07:00