Remove Redis from status information if unused
Unless content caching or the RQ tasking system is used, Redis isn't needed. However, it is unconditionally included in the status views.
Added by Ewoud Kohl van Wijngaarden about 1 year ago
Conditionally include Redis connection information
Redis is only used when cache is enabled or RQ tasking is used. In other cases, the connection is not needed. We've changed the Foreman installer to only install Redis if needed, just to stop wasting resources1. However, this leads to warnings.
This PR changes the status view to only include Redis if it's used.