Skip to content
This repository was archived by the owner on Jan 29, 2022. It is now read-only.
This repository was archived by the owner on Jan 29, 2022. It is now read-only.

Consider adding an API to check if a size increment would violate the quota #151

@brianhelba

Description

@brianhelba

This would allow pre-clearing a size change without actually updating the size. This would allow more elegant validation of size changes, without having to attempt the final save.

The downside is that the check and ultimate save would need to be done atomically, as a check would not actually reserve the usage to guard against a race condition with other concurrent uploads.

See: #145 (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