Lixie-Labs / Emotiscope

Let your eyes enjoy the music too ✨ Extremely low-latency audio processing lets LEDs perfectly synchronize to your music's notation and tempo.
https://emotiscope.rocks/
GNU General Public License v3.0
27 stars 5 forks source link

save_config_delayed() breaks down after a few hours, saves the config on every s... #34

Closed github-actions[bot] closed 4 months ago

github-actions[bot] commented 4 months ago

https://github.com/Lixie-Labs/Emotiscope/blob/717553886e46cbce3a22716714114db516a77cec/src/configuration.h#L175


    return true;
}

// TODO: save_config_delayed() breaks down after a few hours, saves the config on every single frame:
/*
SAVING CONFIGURATION TO FILESYSTEM
SAVING CONFIGURATION TO FILESYSTEM
SAVING CONFIGURATION TO FILESYSTEM
SAVING CONFIGURATION TO FILESYSTEM
[socket] connection #51 connected from 192.168.1.48
WEBSOCKET CLIENT IS WELCOME INTO OPEN SLOT #0
SAVING CONFIGURATION TO FILESYSTEM
SAVING CONFIGURATION TO FILESYSTEM
SAVING CONFIGURATION TO FILESYSTEM
SAVING CONFIGURATION TO FILESYSTEM
SAVING CONFIGURATION TO FILESYSTEM
SAVING CONFIGURATION TO FILESYSTEM
SAVING CONFIGURATION TO FILESYSTEM

Also the FPS and memory are no longer printed either
*/
void save_config_delayed() {
    last_save_request_ms = millis();
    save_request_open = true;
connornishijima commented 4 months ago

I think I fixed this, but only time will tell

connornishijima commented 4 months ago

Seems fixed!