Explorar el Código

functional-tester: increase lease TTL

increasing lease TTL ensure that lease doesn't expire during hashes stabilization period.
I observed that it can take a long time for etcd cluster to become stable.
fanmin shi hace 10 años
padre
commit
1dc60bb97e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tools/functional-tester/etcd-tester/lease_stresser.go

+ 1 - 1
tools/functional-tester/etcd-tester/lease_stresser.go

@@ -30,7 +30,7 @@ import (
 
 const (
 	// time to live for lease
-	TTL = 30
+	TTL = 120
 	// leasesStressRoundPs indicates the rate that leaseStresser.run() creates and deletes leases per second
 	leasesStressRoundPs = 1
 )