-
Notifications
You must be signed in to change notification settings - Fork 203
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
missing tests for parallel caching feature #100
Comments
The parallel case is a separate implementation since it's async and needs to rely on callbacks. The sync implementation of caching middleware is simpler because the Response it gets from |
Are we sure that users are using this feature? Perhaps we should at least document it, or point to an article or something describing its use. Still seems smelly to me, like this coordination should be the responsibility of a layer higher up. |
On Tue, Oct 7, 2014 at 5:19 PM, John Bachir notifications@github.com
|
Looks like in a83b39c, the
if env[:parallel_manager]
condition and thecache_on_complete
method it uses were not tested.The feature itself seems like a bit of a smell — why would the concurrent case not work with threadsafe code?
The text was updated successfully, but these errors were encountered: