Something went wrong. Try again.
A community based topic aggregation platform built on atproto
Something went wrong. Try again.
feat(aggregators): add background token refresh for OAuth credentials master
Add proactive token refresh that runs every 30 minutes to refresh aggregator OAuth tokens before they expire. This prevents API failures due to expired tokens when aggregators are idle. - Add ListAggregatorsNeedingTokenRefresh to repository interface - Implement RefreshExpiringTokens in APIKeyService with per-aggregator timeout - Start background goroutine in main.go with proper shutdown handling - Add comprehensive tests for the new refresh functionality Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Author Bretton Co-author Claude Opus 4.5 Date (Jan 22, 2026, 1:47 AM UTC) Commit 4c85d55f 4c85d55f88573eeb589f1b88dc168ac95ec78500 Parent 75af0b77 75af0b778c60ec95ed8c04430fa66656cbd75eac