Skip to content

Metrics cache sizes hardcoded #22

Description

@BukeLy

问题描述

缓存大小硬编码。

受影响的文件

  • src/metrics.py 行 112, 132, 178

硬编码的缓存大小

  • 500
  • 5000

解决方案

应该配置以下环境变量:

  • METRICS_RESPONSE_TIMES_CACHE_SIZE

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions