Skip to content
This repository was archived by the owner on Sep 28, 2019. It is now read-only.
This repository was archived by the owner on Sep 28, 2019. It is now read-only.

Use redis pub/sub instead of polling to monitor pending transfers #2

@jhford

Description

@jhford

Currently in the /redirect/ endpoint, if we encounter a file in the pending state, we poll every second until we see that pending status change to either 'error' or 'present'. We should probably have a failsafe of polling every 10 seconds to make sure that pub/sub being flakey doesn't cause too much trouble. In this case, we should log something to make it clear that we have experienced this condition.

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