WeKnora/internal/router
wizardchen b5cc7d2a28 feat(api-keys): implement throttled last_used_at updates for API key authentication
Enhance the tenant API key service by introducing asynchronous throttling for the last_used_at updates during API key authentication. This change reduces database write frequency under high request rates, improving performance. Additionally, update tests to validate the throttling behavior, ensuring that last_used_at is only updated once per key within the defined interval. This implementation aligns with the goal of optimizing API key management and maintaining system efficiency.
2026-07-07 12:00:13 +08:00
..
rbac.go refactor(api-keys): remove API key reset endpoint and update documentation 2026-07-07 12:00:13 +08:00
rbac_selfcheck_test.go refactor(api-keys): simplify authorization to a single-role gate 2026-07-07 12:00:13 +08:00
router.go feat(api-keys): implement throttled last_used_at updates for API key authentication 2026-07-07 12:00:13 +08:00
router_api_key_management_test.go refactor(api-keys): remove API key reset endpoint and update documentation 2026-07-07 12:00:13 +08:00
router_files_test.go refactor(api-keys): update role handling and enhance API key restrictions 2026-07-07 12:00:13 +08:00
router_presigned_test.go refactor(api-keys): remove API key reset endpoint and update documentation 2026-07-07 12:00:13 +08:00
router_wiki_test.go feat(api-keys): implement throttled last_used_at updates for API key authentication 2026-07-07 12:00:13 +08:00
sync_task.go fix(knowledge): harden batch reparse UX and async processing 2026-06-25 23:57:54 +08:00
task.go feat(redis): support TLS for Redis connections (#1930) 2026-07-06 23:02:02 +08:00
task_inspector.go feat(configuration): update asynq concurrency settings and enhance FAQ handling 2026-06-04 15:48:04 +08:00