1. 28 Dec, 2025 2 commits
    • song's avatar
    • noreply's avatar
      feat: Schedule batch update for account last_used_at · cbfce49a
      noreply authored
      Implement deferred batch update mechanism to reduce database load:
      
      - Add DeferredService for batching account last_used_at updates
      - Add TimingWheelService for efficient recurring task scheduling
      - Integrate with GatewayService and OpenAIGatewayService
      - Implement BatchUpdateLastUsed repository method using CASE...WHEN SQL
      - Fix golangci-lint error: Replace interface{} with any
      
      Benefits:
      - Reduces database writes by batching updates (10-second intervals)
      - Improves request throughput by deferring non-critical updates
      - Maintains accurate account usage tracking for scheduling
      cbfce49a
  2. 27 Dec, 2025 1 commit
  3. 26 Dec, 2025 1 commit
  4. 25 Dec, 2025 2 commits
  5. 24 Dec, 2025 1 commit
  6. 20 Dec, 2025 1 commit
  7. 19 Dec, 2025 1 commit
  8. 18 Dec, 2025 1 commit