Flushing Redis

If you are using Redis for caching or sessions, you may need to clear it during development or to troubleshoot a site problem.  You can flush redis directly via the command line using the example commands below.

redis-cli -h redis -p 6379 FLUSHALL

redis-cli -h redis-config-cache -p 6381 FLUSHALL

redis-cli -h redis-session -p 6380 FLUSHALL

NOTE: Sessions (redis-session) will NOT clear with the command /usr/share/stratus/cli cache.all.clear nor will they clear with a redeploy