Skip to content

Retry export if network failure in export #652

Description

@stefpiatek

Motivation

We often get network failures on export, it would be nice to detect this and retry the export one more time

Pitch

At the point of `upload_dicom_and_update_database`, try a second time if there is a network error upon export - as simple as looking for network (case insensitive) in the exception message?

Perhaps catch any Exception and retry once?

Alternatives

No response

Additional context

No response

Acceptance

  • There is a single retry in all export that will try a second time to upload the data if there is network in the exception (or possible any exception)

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions