Skip to content

Commit

Permalink
Increase polling interval for captcha solver (#2071)
Browse files Browse the repository at this point in the history
Task/Issue URL:
https://app.asana.com/0/1203581873609357/1206365191886548/f

**Description**:
Increase pooling interval for captcha solver
  • Loading branch information
Bunn authored Jan 16, 2024
1 parent 8eaa607 commit d9264be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ struct CaptchaService: CaptchaServiceProtocol {

func submitCaptchaToBeResolved(for transactionID: CaptchaTransactionId,
retries: Int = 100,
pollingInterval: Int = 40,
pollingInterval: Int = 50,
shouldRunNextStep: @escaping () -> Bool) async throws -> CaptchaResolveData {
guard let captchaResolveResult = try? await submitCaptchaToBeResolvedRequest(transactionID) else {
throw CaptchaServiceError.errorWhenFetchingCaptchaResult
Expand Down

0 comments on commit d9264be

Please sign in to comment.