Skip to content

Commit 030cb91

Browse files
committed
Ensure wait task uses config on retry
1 parent 2cc1868 commit 030cb91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/algolia.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ defmodule Algolia do
618618

619619
{:ok, %{"status" => "notPublished"}} ->
620620
:timer.sleep(time_before_retry)
621-
wait_task(index, task_id, time_before_retry)
621+
wait_task(index, task_id, time_before_retry, opts)
622622

623623
other ->
624624
other

0 commit comments

Comments
 (0)