Refs #21228 Differentiate between deployments when using redis server