Skip to content

fix(cache): reconnect Redis after startup timeout - #112

Merged
germondai merged 1 commit into
devfrom
fix/issue-92-redis-reconnect
Sep 3, 2026
Merged

fix(cache): reconnect Redis after startup timeout#112
germondai merged 1 commit into
devfrom
fix/issue-92-redis-reconnect

Conversation

@germondai

Copy link
Copy Markdown
Owner

Summary

  • replace the permanent one-shot Redis failure state with background session-cache recovery
  • bound each attempt with REDIS_CONNECT_TIMEOUT_MS, defaulting to 5 seconds
  • retry after REDIS_RETRY_DELAY_MS, defaulting to 5 seconds, with zero disabling retries
  • activate Tier 2 automatically once a later connection succeeds
  • cancel pending retries and close the Redis client during shutdown
  • keep the cacheless minimal Compose deployment free of a retry loop
  • update configuration, Compose files, troubleshooting, architecture docs, and changelog

Verification

  • bun run verify
  • 363 tests passed
  • lint, typecheck, web build, and docs build passed

Fixes #92

@germondai
germondai merged commit 3cb1c8a into dev Sep 3, 2026
1 check passed
@germondai
germondai deleted the fix/issue-92-redis-reconnect branch September 3, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tier 2 disabled even after verifying redis connectable and restarting trawl

1 participant