Commit Graph
3 Commits
Author SHA1 Message Date
mahdiumandQwen-Coder 5a37903a72 fix: rate limiter ticker leak and context cancellation bug
- Stop ticker and signal goroutine exit in RegisterCleanup OnStop hook
- Call cancel() explicitly after AuthStatus instead of defer to prevent premature context cancellation
- Use consistent logger parameter in OnStop hook

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-11 16:18:18 +03:30
mahdium a053d577ef feat: implement rate‑limiter cleanup task and register it in the FX lifecycle. 2026-03-11 16:05:21 +03:30
mahdium ee5534a2ce feat: add rate limiting to feed endpoint and update route paths
- Implement per-client rate limiting (5 requests per 3 seconds)
- Change /channel/:id routes to /feed/:id for consistency
- Add data/ to .gitignore
- Include RateLimit middleware on GET /feed/:id endpoint
2026-03-11 00:36:40 +03:30