Skip to content

Commit 5667c8c

Browse files
♻️ increase async retry timers (#134)
1 parent 27fd979 commit 5667c8c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/mindee/client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def parse_queued(
151151
# This performs a cropping operation on the server and will increase response time.
152152
# @param initial_delay_sec [Integer, Float] initial delay before polling. Defaults to 2.
153153
# @param delay_sec [Integer, Float] delay between polling attempts. Defaults to 1.5.
154-
# @param max_retries [Integer] maximum amount of retries. Defaults to 60.
154+
# @param max_retries [Integer] maximum amount of retries. Defaults to 80.
155155
# @return [Mindee::Parsing::Common::ApiResponse]
156156
def enqueue_and_parse(
157157
input_source,
@@ -164,7 +164,7 @@ def enqueue_and_parse(
164164
cropper: false,
165165
initial_delay_sec: 2,
166166
delay_sec: 1.5,
167-
max_retries: 60
167+
max_retries: 80
168168
)
169169
enqueue_res = enqueue(
170170
input_source,

0 commit comments

Comments
 (0)