Skip to content

🐛 Routes media-check blocked on processing #1747

@AntoLC

Description

@AntoLC

Bug Report

We have observed some resources with a infinite loader.

Image

It is because the routes media-check stays sometime blocked on processing.
Ex: https://docs.numerique.gouv.fr/api/v1.0/documents/0f360f98-c7b5-42c7-8306-4ca80491ee93/media-check/?key=0f360f98-c7b5-42c7-8306-4ca80491ee93%2Fattachments%2F2e310f50-1cc1-49aa-8c48-b1f77a68dfdb.png

Possible solution

Add a createtime in the response, if the resource is older than 1h we could switch the loader to fail, by example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions