hrkfdn / mpdas

MPD AudioScrobbler written in C++ using libcurl
http://50hz.ws/mpdas/
Other
125 stars 22 forks source link

Skip writing the cache file if there are no entries #64

Open efermi opened 6 months ago

efermi commented 6 months ago

Currently SaveCache creates and deletes the cache file twice per second even if there are no entries. This change should significantly reduce the number of filesystem operations issued.