lib/shopify/graphql/retry/linear.ex
defmodule Shopify.GraphQL.Retry.Linear do
@behaviour Shopify.GraphQL.Retry
@impl true
def wait_for(_request, config) do
Keyword.get(config.retry_opts, :retry_in, 0)
end
end
defmodule Shopify.GraphQL.Retry.Linear do
@behaviour Shopify.GraphQL.Retry
@impl true
def wait_for(_request, config) do
Keyword.get(config.retry_opts, :retry_in, 0)
end
end