Skip to content

Downloading a crate should continue to work if the database is down #1387

Closed
@sgrif

Description

@sgrif

The crate download endpoint only needs a database connection to update the download counter. We should have a lower timeout threshold for grabbing a connection on that endpoint, and just skip updating the downloads counter if it fails. People's builds should not break when our database is down for maintenance.

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