Files
openclaw/src/config/types.bot-loop-protection.ts
2026-05-13 14:59:47 +01:00

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;
};