Explorar el Código

feat(go): increase the number of retries.

Vishal Dalwadi hace 9 meses
padre
commit
238e6a7577
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pro/license.go

+ 1 - 1
pro/license.go

@@ -213,7 +213,7 @@ func validateLicenseKey(encryptedData []byte, publicKey *[32]byte) ([]byte, bool
 	validationRetries := utils.RetryStrategy{
 		WaitTime:         time.Second * 5,
 		WaitTimeIncrease: time.Second * 2,
-		MaxTries:         5,
+		MaxTries:         15,
 		Wait: func(duration time.Duration) {
 			time.Sleep(duration)
 		},