mirror of
https://github.com/Rafostar/clapper.git
synced 2026-04-09 23:00:01 +02:00
We do not want to create situations where multiple threads are running cache cleanup at once (since they all think last one was run long ago). This can be prevented with a combination of global mutex and a "trylock", so we can simply avoid both mutex locking and starting another cleanup.