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

bugfix: fix issues with txn cache ttl being set as well as rebuild clearing the cache #365

Merged
merged 1 commit into from
Feb 21, 2020

Conversation

edaniszewski
Copy link
Contributor

This PR:

  • fixes a bug where the transaction cache ttl wasn't being correctly set because of an order of operations bug where config was not loaded in yet
  • fixes a bug where calling clear on any of the caches would clear the entire backing cache for all caches, regardless of namespace. this was causing transactions to be invalidated on device cache rebuild.

fixes #363

Copy link
Contributor

@MatthewHink MatthewHink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Yeah that's strange to have an instance with a namespace and ignore it.

@edaniszewski edaniszewski merged commit 4333868 into v3/staging Feb 21, 2020
@edaniszewski edaniszewski deleted the v3/txn-cache-bugfix branch February 21, 2020 16:39
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