NoppesTheFolf / Fluffle

A reverse image search service tailored to the furry community.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make comparison API safe to restart

NoppesTheFolf opened this issue · comments

The comparison API uses a cache to prevent having to retrieve all indexed images from the database at every launch. Right now the cached files are directly overwritten when new data is retrieved from the database. If the comparison API shuts down unexpectedly during the write operation, then the cache could get corrupt, resulting in a long start up time.