lib/algolia/search_index.rb in algolia-2.2.2 vs lib/algolia/search_index.rb in algolia-2.2.3

- old
+ new

@@ -34,10 +34,10 @@ loop do status = get_task_status(task_id, opts) if status == 'published' return end - sleep(time_before_retry / 1000) + sleep(time_before_retry.to_f / 1000) end end # Check the status of a task on the server. # All server task are asynchronous and you can check the status of a task with this method.