mirror of
https://github.com/mastodon/mastodon.git
synced 2025-02-07 07:25:09 +00:00
![Claire](/assets/img/avatar_default.png)
* Reduce redis cache store connect timeout from default 20 seconds to 5 seconds * Log cache store errors
4 lines
277 B
Ruby
4 lines
277 B
Ruby
# Log cache errors with Rail's logger
|
|
# This used to be the default in old Rails versions: https://github.com/rails/rails/commit/7fcf8590e788cef8b64cc266f75931c418902ca9#diff-f0748f0be8a653eea13369ebb1cadabcad71ede7cfaf20282447e64329817befL86
|
|
Rails.cache.logger = Rails.logger
|