Skip to content

refactor: optional Redis swap update cache #847

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2025
Merged

Conversation

michael1011
Copy link
Member

This PR adds optional Redis caching for swap status data, replacing in-memory storage with a persistent, distributed solution. It implements a cache abstraction with both Redis and Map-based backends, updates metrics collection accordingly, and maintains backward compatibility through optional configuration.

@michael1011 michael1011 requested a review from maybeast March 10, 2025 11:30
@michael1011 michael1011 merged commit 9fe80b1 into master Mar 11, 2025
6 checks passed
@michael1011 michael1011 deleted the redis-cache branch March 11, 2025 12:28
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.

2 participants