doc: add lease time

The current lease time is short and as such can lead to a timeout
error as explained in the related issue which can be confusing.

Fixes #9726
This commit is contained in:
Sahdev P. Zala
2019-10-13 16:38:28 -04:00
parent a4e9d81df7
commit 9002c1951f
2 changed files with 14 additions and 14 deletions

View File

@@ -533,8 +533,8 @@ Prints a message with the granted lease ID.
#### Example
```bash
./etcdctl lease grant 10
# lease 32695410dcc0ca06 granted with TTL(10s)
./etcdctl lease grant 60
# lease 32695410dcc0ca06 granted with TTL(60s)
```
### LEASE REVOKE \<leaseID\>
@@ -609,8 +609,8 @@ Prints a message with a list of active leases.
#### Example
```bash
./etcdctl lease grant 10
# lease 32695410dcc0ca06 granted with TTL(10s)
./etcdctl lease grant 60
# lease 32695410dcc0ca06 granted with TTL(60s)
./etcdctl lease list
32695410dcc0ca06