Skip to content

Evict failed futures from cache#14

Open
jtschoonhoven wants to merge 1 commit intoimnotjames:mainfrom
jtschoonhoven:fix/evict-failed-futures
Open

Evict failed futures from cache#14
jtschoonhoven wants to merge 1 commit intoimnotjames:mainfrom
jtschoonhoven:fix/evict-failed-futures

Conversation

@jtschoonhoven
Copy link

When a cached async call raises an exception, the failed future remains in the cache permanently, preventing retries from ever succeeding. This evicts failed futures on the next call so the operation can be retried.

When a cached async call raises an exception, the failed future remains
in the cache permanently, preventing retries from ever succeeding.
This evicts failed futures on the next call so the operation can be retried.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant