mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-26 18:15:13 +00:00
11 lines
413 B
TypeScript
11 lines
413 B
TypeScript
export type ChannelBotLoopProtectionConfig = {
|
|
/** Enable pair loop protection for channels that support it. */
|
|
enabled?: boolean;
|
|
/** Maximum events a sender/receiver pair may exchange within the window. */
|
|
maxEventsPerWindow?: number;
|
|
/** Sliding window length in seconds. */
|
|
windowSeconds?: number;
|
|
/** Cooldown seconds applied to a pair after the limit is hit. */
|
|
cooldownSeconds?: number;
|
|
};
|