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

Optional delay / consolidating writes #19

Open
DTTerastar opened this issue Mar 24, 2023 · 0 comments
Open

Optional delay / consolidating writes #19

DTTerastar opened this issue Mar 24, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@DTTerastar
Copy link

Is your feature request related to a problem? Please describe.
The flash memory in the ESP32 has a limited lifetime, if we write to it in a frequent loop we could kill it in less than a year.

Describe the solution you'd like
It would be nice if I could write a value to spiffs but "queue it" up for a later time. If the same value is "written" multiple times then the queue would just write the latest value. You should be able to set the max delay via a define or something similar.

Describe alternatives you've considered
n/a

@DTTerastar DTTerastar added the enhancement New feature or request label Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants