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

decrease cache time #1254

Merged
merged 1 commit into from
Mar 29, 2019
Merged

decrease cache time #1254

merged 1 commit into from
Mar 29, 2019

Conversation

dsyme
Copy link
Contributor

@dsyme dsyme commented Mar 29, 2019

I'm convinced 5 minutes is too long to be caching these instances under many user edits which might recreate many type provider instances

I'm also sceptical about the cache in general, see #1253 - I'd much prefer this is scoped to a particular TP instance - but for now decreasing the cache time seems sensible.

This is all part of a range of work to try to reduce the impact of some memory problems we're seeing in when using F# tooling with FSharp.Data type providers

@dsyme
Copy link
Contributor Author

dsyme commented Mar 29, 2019

@baronfel @ovatsus Any chance you could push FSHarp.Data 3.0.2 after this gets merged? Thanks

@dsyme dsyme merged commit 2dc5371 into fsprojects:master Mar 29, 2019
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