woikos
9da1784b1b
Go / build-and-release (push) Waiting to run
Add Blossom bandwidth limiting and tune rate limiters (v0.49.0)
- Add token-bucket bandwidth rate limiting for Blossom uploads
- ORLY_BLOSSOM_RATE_LIMIT enables limiting (default: false)
- ORLY_BLOSSOM_DAILY_LIMIT_MB sets daily limit (default: 10MB)
- ORLY_BLOSSOM_BURST_LIMIT_MB sets burst cap (default: 50MB)
- Followed users, admins, owners are exempt (unlimited)
- Change emergency mode throttling from exponential to linear scaling
- Old: 16x multiplier at emergency threshold entry
- New: 1x at threshold, +1x per 20% excess pressure
- Reduce follows ACL throttle increment from 200ms to 25ms per event
- Update dependencies
Files modified:
- app/blossom.go: Pass rate limit config to blossom server
- app/config/config.go: Add Blossom rate limit config options
- pkg/blossom/ratelimit.go: New bandwidth limiter implementation
- pkg/blossom/server.go: Add rate limiter integration
- pkg/blossom/handlers.go: Check rate limits on upload/mirror/media
- pkg/ratelimit/limiter.go: Linear emergency throttling
- pkg/acl/follows.go: Reduce default throttle increment
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 08:09:39 +01:00
..
2026-01-07 03:40:12 +01:00
2026-01-14 08:09:39 +01:00
2025-11-23 08:15:06 +00:00
2026-01-02 19:35:16 +01:00
2025-11-23 08:15:06 +00:00
2025-12-23 14:47:50 +01:00
2025-12-02 07:51:59 +00:00
2025-12-03 12:31:25 +00:00
2026-01-09 11:46:36 +01:00
2025-12-03 20:49:49 +00:00
2025-12-03 21:24:43 +00:00
2025-12-03 12:31:25 +00:00
2026-01-05 21:42:17 +01:00
2025-12-12 08:47:25 +01:00
2025-12-03 12:31:25 +00:00
2025-12-03 12:31:25 +00:00
2025-11-23 08:15:06 +00:00
2025-12-04 09:28:13 +00:00
2025-12-25 05:30:07 +01:00
2026-01-03 07:17:48 +01:00
2025-12-29 02:18:05 +02:00
2026-01-06 06:50:58 +01:00
2025-12-25 05:30:07 +01:00
2026-01-06 05:51:34 +01:00
2026-01-06 05:51:34 +01:00
2025-11-26 21:16:46 +00:00
2025-12-03 12:31:25 +00:00
2025-12-03 12:31:25 +00:00
2025-11-23 08:15:06 +00:00
2025-12-25 06:03:53 +01:00
2025-11-23 08:15:06 +00:00
2026-01-14 08:09:39 +01:00
2025-12-25 05:30:07 +01:00
2026-01-14 08:09:39 +01:00
2025-12-25 05:30:07 +01:00
2025-12-03 12:31:25 +00:00
2026-01-05 21:42:17 +01:00
2025-12-04 09:28:13 +00:00
2025-12-04 09:28:13 +00:00
2025-12-04 09:28:13 +00:00
2025-12-04 09:28:13 +00:00
2026-01-05 21:42:17 +01:00
2025-12-04 09:28:13 +00:00
2025-12-04 09:28:13 +00:00
2025-12-04 09:28:13 +00:00
2025-12-03 12:31:25 +00:00
2025-12-11 21:36:39 +01:00
2025-12-12 08:47:25 +01:00
2025-12-05 14:42:22 +00:00
2026-01-02 19:35:16 +01:00
2025-12-03 12:31:25 +00:00
2025-12-25 06:25:21 +01:00
2025-12-25 06:25:21 +01:00
2025-12-03 12:31:25 +00:00
2025-12-03 12:31:25 +00:00
2026-01-05 21:42:17 +01:00
2025-11-09 10:41:58 +00:00
2025-12-03 12:31:25 +00:00
2026-01-07 03:40:12 +01:00
2025-11-02 18:19:52 +00:00
2025-12-03 12:31:25 +00:00
2025-11-20 09:16:54 +00:00
2025-11-20 09:16:54 +00:00
2025-11-20 05:13:56 +00:00
2025-12-25 05:30:07 +01:00
2025-12-03 12:31:25 +00:00
2025-12-25 05:30:07 +01:00
2025-12-25 05:30:07 +01:00
2025-11-23 08:15:06 +00:00
2025-12-05 11:25:34 +00:00
2025-12-25 05:30:07 +01:00
2025-12-25 05:30:07 +01:00
2025-12-03 12:31:25 +00:00
2025-12-25 05:30:07 +01:00
2025-12-03 12:31:25 +00:00
2025-12-25 05:30:07 +01:00
2025-12-25 05:30:07 +01:00
2025-12-25 05:30:07 +01:00
2025-12-25 05:30:07 +01:00
2025-11-23 08:15:06 +00:00
2025-12-03 12:31:25 +00:00
2025-12-01 18:21:38 +00:00
2025-12-03 12:31:25 +00:00
2025-12-25 05:30:07 +01:00
2025-12-01 18:21:38 +00:00
2025-12-25 06:03:53 +01:00
2026-01-06 05:51:34 +01:00
2025-08-31 16:52:24 +01:00
2025-12-03 12:31:25 +00:00
2025-12-25 05:30:07 +01:00
2026-01-07 03:40:12 +01:00
2025-12-22 18:53:30 +01:00
2025-12-03 12:31:40 +00:00
2025-12-22 18:53:30 +01:00
2026-01-07 03:40:12 +01:00
2025-12-22 18:53:30 +01:00
2025-12-27 16:32:48 +02:00