From 7f90455014854960257e64fa07a6a7ee30fba276 Mon Sep 17 00:00:00 2001 From: aliaska-varieva Date: Fri, 28 Aug 2026 12:51:31 +0200 Subject: [PATCH] chore(gateway): coherent external-API rate limits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 100/min, 3000/hr, 30000/day (was 5/1000/10000 — the 5/min cap made the hour and day limits unreachable dead config). Every window now binds. Co-Authored-By: Claude Fable 5 --- configs/base/openframe-gateway.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/configs/base/openframe-gateway.yml b/configs/base/openframe-gateway.yml index 42b80362b3..e1e3480ab8 100644 --- a/configs/base/openframe-gateway.yml +++ b/configs/base/openframe-gateway.yml @@ -116,11 +116,14 @@ openframe: device: aspect: enabled: false + # External-API rate limits: one dial per deployment (no per-key limits); fixed calendar windows, + # so the worst-case burst across a minute boundary is ~2x the minute limit. Keep hour < minute*60 + # and day < hour*24 or the wider windows are dead config. rate-limit: enabled: true - default-requests-per-minute: 5 - default-requests-per-hour: 1000 - default-requests-per-day: 10000 + default-requests-per-minute: 100 + default-requests-per-hour: 3000 + default-requests-per-day: 30000 redis-ttl: 7200 # 2 hours in seconds fail-open: true log-violations: true