# We cannot use Sidekiq's retry feature here because we need to retry per
# OntologyVersion in the queue of OntologyVersions
sidekiq_options retry: false
# queue is an array of triples like
# [ontology_version_id,
# try_count]
# where try_count is the number of the next evaluation attempt
return if version_with_options_queue.empty?
end
end
@try_count ||= 1
@concurrency_issue_handled = false
end
end
end
# At this point, it was already tried, hence we include equality
if @try_count >= MAX_CONCURRENT_TRIES
else
end
true
end
end
end