Compare commits
No commits in common. "a65687a082afd9a55fa9e6329de269815314db71" and "20cc984799965a3fec0deec8c4d15886d377a957" have entirely different histories.
a65687a082
...
20cc984799
10
README.md
10
README.md
@ -250,6 +250,16 @@ After first success you have to replace `--issue` with `--renew`.
|
|||||||
every 4.8 hours. If network connectivity is lost, the loss of connectivity is detected during license renewal and the
|
every 4.8 hours. If network connectivity is lost, the loss of connectivity is detected during license renewal and the
|
||||||
client has 19.2 hours in which to re-establish connectivity before its license expires.
|
client has 19.2 hours in which to re-establish connectivity before its license expires.
|
||||||
|
|
||||||
|
```python
|
||||||
|
from datetime import timedelta
|
||||||
|
|
||||||
|
LEASE_RENEWAL_PERIOD=0.2 # 20%
|
||||||
|
delta = timedelta(days=1)
|
||||||
|
renew = delta.total_seconds() * LEASE_RENEWAL_PERIOD
|
||||||
|
renew = timedelta(seconds=renew)
|
||||||
|
expires = delta - renew # 19.2
|
||||||
|
```
|
||||||
|
|
||||||
\*2 Always use `https`, since guest-drivers only support secure connections!
|
\*2 Always use `https`, since guest-drivers only support secure connections!
|
||||||
|
|
||||||
\*3 If you recreate instance keys you need to **recreate client-token for each guest**!
|
\*3 If you recreate instance keys you need to **recreate client-token for each guest**!
|
||||||
|
@ -1 +1 @@
|
|||||||
VERSION=1.3.1
|
VERSION=1.3
|
||||||
|
Loading…
Reference in New Issue
Block a user