mirror of
https://github.com/Rafostar/clapper.git
synced 2026-01-16 00:40:36 +01: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.