Skip to content

[Feature]: The Feishu plugin's /open-apis/bot/v3/info endpoint is called every minute by Gateway health check. This results in ~43,200 API calls/month, exceeding Feishu's free tier (50,000). #26684

@magicsuny

Description

@magicsuny

Summary

Problem

The Feishu plugin's /open-apis/bot/v3/info endpoint is called every minute by Gateway health check. This results in ~43,200 API calls/month, exceeding Feishu's free tier (50,000).

Problem to solve

Gateway Health Check (1/min) → probeFeishu() → HTTP GET /open-apis/bot/v3/info

Proposed solution

Add in-memory caching to probeFeishu() with 10-min TTL. Bot info is static, so caching is safe.

Alternatives considered

No response

Impact

Before After
~43,200 calls/mo ~4,320 calls/mo

Evidence/examples

``typescript
const botInfoCache = new Map<string, { data: FeishuProbeResult; expiresAt: number }>();
const CACHE_TTL_MS = 10 * 60 * 1000;


### Additional information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions