Skip to content

PLCImporter loses some ops if an exception is thrown in processing block #2

Description

@mackuba

If you use the #fetch method in PLCImporter to process incoming operations, and in the block you've passed, an exception is thrown e.g. on the 400th of 1000 operations in a batch, the importer will break out of the loop, but it will have already updated its internal cursor at @last_date, so the next time it's called, it will continue after the whole batch, skipping the 600 operations that weren't processed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions