openclaw icon indicating copy to clipboard operation
openclaw copied to clipboard

Feature: Telegram rate-limiting to prevent concurrent message floods

Open jontsai opened this issue 10 months ago • 1 comments

Feature Request

Add optional rate-limiting for Telegram message handling to prevent concurrent message floods from overwhelming the session store.

Use Case

When a user has multiple Telegram clients (desktop, mobile, web), each client may trigger webhook/polling events for the same messages. This creates bursts of concurrent requests that can cause lock contention (see related issue #4244).

Suggested Implementation

Add a config option like:

telegram:
  rateLimitMs: 100  # Debounce rapid-fire messages
  maxConcurrent: 2  # Max concurrent message handlers

Benefits

  • Prevents lock contention under load
  • Graceful degradation instead of crashes
  • User-configurable based on their setup

jontsai avatar Jan 29 '26 23:01 jontsai

OpenClaw Maintainer Triage // Issue Closure

Hi — this is a joint maintainer effort to keep the repo moving. We’re currently seeing ~30 new issues per hour, and we can’t review every future request without slowing down critical stabilization work. This issue is unlikely to be considered in the near term, so we’re closing it to keep the pipeline moving while we focus on stability.

We’re very sorry this is happening, but we won’t be able to look at the comments on this issue.

Want to make your request stand out? Submit a PR and report to #pr-thunderdome-dangerzone on Discord — READ THE TOPIC. Give us a clear briefing: what it fixes, who it helps, and why it’s worth shipping.

Thanks for understanding and for contributing.

sebslight avatar Feb 01 '26 00:02 sebslight