We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/yatish27/salesforce_bulk_api/blob/master/lib/salesforce_bulk_api/job.rb#L182-L185 comes from this PR @batch_ids.delete(batch_id) does not work very well with the each, since Array#each use indices to iterate.
@batch_ids.delete(batch_id)
each
I'm wondering since batches_ready is true, why not remove the break if @batch_ids.empty? and @batch_ids.delete(batch_id) logic.
batches_ready
break if @batch_ids.empty?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/yatish27/salesforce_bulk_api/blob/master/lib/salesforce_bulk_api/job.rb#L182-L185
comes from this PR
@batch_ids.delete(batch_id)
does not work very well with theeach
, since Array#each use indices to iterate.I'm wondering since
batches_ready
is true, why not remove thebreak if @batch_ids.empty?
and@batch_ids.delete(batch_id)
logic.The text was updated successfully, but these errors were encountered: