mirror of
https://github.com/discourse/discourse.git
synced 2025-03-07 10:15:32 +08:00

If we detect redis is in readonly we can not correctly get a mutex raise an exception to notify caller When getting optimized images avoid the distributed mutex unless for some reason it is the first call and we need to generate a thumb In redis readonly no thumbnails will be generated