Skip to content
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

Merge image requests with the same memory cache key, maybe a solution for #1461 (If user use url to generate memory cache key) #1598

Closed
wants to merge 1 commit into from

Conversation

asuka-mio
Copy link

@asuka-mio asuka-mio commented Jan 20, 2023

Merge image requests with the same memory cache key, maybe a solution for #1461 (If user use url to generate memory cache key)

* Update EngineInterceptor.kt

* Add comments and handle error and cancellation

* Fix typo

* Fix typo

* Don't catch pending continuations' cancellation

* Fix build

* Fix

* Refine comments

* Fix resource contention

* Refine exception handle
@asuka-mio
Copy link
Author

Sorry for that PR, I have achieved same effect by a Interceptor https://github.com/Ehviewer-Overhauled/Ehviewer/blob/1.8.x.x/app/src/main/java/com/hippo/ehviewer/coil/MergeInterceptor.kt

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