【问题标题】:Gramex redis cache set memory error in azure instance天蓝色实例中的 Gramex redis 缓存设置内存错误
【发布时间】:2021-05-18 01:43:52
【问题描述】:

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

image reference

【问题讨论】:

    标签: caching redis gramex


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2015-05-11
      • 2012-02-04
      • 2022-01-08
      • 2015-03-07
      • 1970-01-01
      • 2015-11-20
      • 2017-12-22
      • 1970-01-01
      • 2020-07-07
      相关资源
      最近更新 更多