private static TurmsRedisClientManager newLocationRedisClientManager(
            RedisProperties properties,
            boolean treatUserIdAndDeviceTypeAsUniqueUser) {
        RedisCodecContext codecContext = treatUserIdAndDeviceTypeAsUniqueUser
                ? RedisCodecContextPool.GEO_USER_SESSION_ID_CODEC_CONTEXT
                : RedisCodecContextPool.GEO_USER_ID_CODEC_CONTEXT;
        return new TurmsRedisClientManager(properties, codecContext);
    }
@author James Chen
@see org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration
@see org.springframework.boot.autoconfigure.data.redis.RedisReactiveAutoConfiguration
@see org.springframework.boot.autoconfigure.data.redis.RedisConnectionConfiguration
@see org.springframework.boot.autoconfigure.data.redis.LettuceConnectionConfiguration
turms-server-common/src/main/java/im/turms/server/common/storage/redis/BaseRedisConfig.java