Skip to content

Automatic cleanup of upload records in localStorage to avoid QuotaExceededError #807

@Floppy

Description

@Floppy

In transloadit/uppy#5644 and manyfold3d/manyfold#4909, I found that tus-js-client was eventually filling up localStorage with upload records, leading to QuotaExceededError whenever another upload is attempted. For my app, I've written a method to automatically sweep up old records (manyfold3d/manyfold#4923), which solves the problem.

I'm not sure if this is a feature that could be usefully pushed upstream into this library, or if it's something that's already handled and I've just not configured properly. Any thoughts welcome, I'm happy to submit a PR on this if helpful.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions