Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erase large file non-blocking or at least yielding #300

Open
florianhumblot opened this issue Mar 27, 2024 · 0 comments
Open

Erase large file non-blocking or at least yielding #300

florianhumblot opened this issue Mar 27, 2024 · 0 comments

Comments

@florianhumblot
Copy link

I'm running into an issue where I'm erasing a large file (think 1~4MB) before downloading a new version of that file. SPIFFS seems to block for the entire erase operation, which can take a while.
Is there a way to delete a file asynchronously or something to that effect? I can't really afford to wait 30s for an erase to complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant