Skip to content

Commit 85f8d8f

Browse files
adjust delays again
1 parent add7ffb commit 85f8d8f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mindee/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,11 @@ def _validate_async_params(
238238
min_retries = 1
239239
if delay_sec < min_delay:
240240
raise MindeeClientError(
241-
f"Cannot set auto-parsing delay to less than {min_delay} seconds."
241+
f"Cannot set auto-parsing delay to less than {min_delay} second(s)."
242242
)
243243
if initial_delay_sec < min_initial_delay:
244244
raise MindeeClientError(
245-
f"Cannot set initial parsing delay to less than {min_initial_delay} seconds."
245+
f"Cannot set initial parsing delay to less than {min_initial_delay} second(s)."
246246
)
247247
if max_retries < min_retries:
248248
raise MindeeClientError(f"Cannot set retries to less than {min_retries}.")
@@ -283,9 +283,9 @@ def enqueue_and_parse(
283283
284284
:param endpoint: For custom endpoints, an endpoint has to be given.
285285
286-
:param initial_delay_sec: Delay between each polling attempts This should not be shorter than 4 seconds.
286+
:param initial_delay_sec: Delay between each polling attempts This should not be shorter than 1 second.
287287
288-
:param delay_sec: Delay between each polling attempts This should not be shorter than 2 seconds.
288+
:param delay_sec: Delay between each polling attempts This should not be shorter than 1 second.
289289
290290
:param max_retries: Total amount of polling attempts.
291291

0 commit comments

Comments
 (0)