From 030cb91caec55a1ce004babf9088c2063b606f62 Mon Sep 17 00:00:00 2001 From: Aaron Renner Date: Fri, 4 Feb 2022 15:04:09 -0700 Subject: [PATCH] Ensure wait task uses config on retry --- lib/algolia.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/algolia.ex b/lib/algolia.ex index 7226b85..161ebdc 100644 --- a/lib/algolia.ex +++ b/lib/algolia.ex @@ -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