Ver Fonte

feat(go): increase the number of retries.

Vishal Dalwadi há 9 meses atrás
pai
commit
238e6a7577
1 ficheiros alterados com 1 adições e 1 exclusões
  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)
 		},