소스 검색

feat(go): increase the number of retries.

Vishal Dalwadi 9 달 전
부모
커밋
238e6a7577
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)
 		},