Skip to content

Cache, yet one more fix...#158

Merged
sergey-tihon merged 1 commit intofsprojects:masterfrom
Thorium:cache-fix-3
Jun 4, 2020
Merged

Cache, yet one more fix...#158
sergey-tihon merged 1 commit intofsprojects:masterfrom
Thorium:cache-fix-3

Conversation

@Thorium
Copy link
Copy Markdown
Member

@Thorium Thorium commented Jun 4, 2020

The lazy is working well, however, because the addCache-function may do unreliable network request (fetching the schema) and that can fail, then the exception is stored to the lazy-value and further usages don't actually reset it to retry the operation. So if there is an exception, that has to be removed from the cache.

@sergey-tihon sergey-tihon merged commit e6668a3 into fsprojects:master Jun 4, 2020
@sergey-tihon
Copy link
Copy Markdown
Member

sergey-tihon commented Jun 4, 2020

Thank you, make sense.
Released as v0.10.5

@Thorium Thorium deleted the cache-fix-3 branch June 7, 2020 09:38
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