Skip to content

Commit

Permalink
Ensure wait task uses config on retry
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrenner committed Feb 4, 2022
1 parent 2cc1868 commit 030cb91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/algolia.ex
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ defmodule Algolia do

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

other ->
other
Expand Down

0 comments on commit 030cb91

Please sign in to comment.