天蓝色实例中的 Gramex redis 缓存设置内存错误

Gramex redis cache set memory error in azure instance

我无法通过配置为 gramex 中的 redis azure 实例设置内存 它给出了这个错误: redis.exceptions.ResponseError:未知命令 CONFIG,参数开头为:SETmaxmemory1000000000

image reference

您可以将大小设置为零。这将忽略大小限制。但是,请确保您已在 redis 实例中将 maxmemory-policy 设置为 volatile-lru。此解决方案需要 gramex >= 1.67