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. |
||
|---|---|---|
| .. | ||
| rbac.go | ||
| rbac_selfcheck_test.go | ||
| router.go | ||
| router_api_key_management_test.go | ||
| router_files_test.go | ||
| router_presigned_test.go | ||
| router_wiki_test.go | ||
| sync_task.go | ||
| task.go | ||
| task_inspector.go | ||