Skip to content

Conversation

@seanmonstar
Copy link
Member

This creates a new Cache type that acts as a pool over an inner make-service. Asking the Cache to produce a service will either return a cached one, or create a new one with the inner maker. The returned service is Cached<S>, which knows to return the service to the cache upon Drop.

Closes hyperium/hyper#3954

@seanmonstar seanmonstar force-pushed the pool-cache branch 4 times, most recently from 8452691 to 7fafc66 Compare September 15, 2025 19:40
@seanmonstar seanmonstar force-pushed the pool-cache branch 2 times, most recently from f5b6508 to 4569561 Compare November 4, 2025 21:59
@seanmonstar seanmonstar force-pushed the pool-cache branch 2 times, most recently from f5dace9 to afefcd5 Compare November 11, 2025 22:40
@seanmonstar seanmonstar force-pushed the pool-cache branch 2 times, most recently from edf0db4 to 9d6cc29 Compare November 14, 2025 16: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