Skip to content

Conversation

@pieh
Copy link
Contributor

@pieh pieh commented Feb 15, 2022

Description

expirer setting explained in https://github.com/kriszyp/weak-lru-cache#expirer

This just removes strong references from lmdb cache. It doesn't mean nodes WILL be GCed - it just makes it possible (if memory need to be freed).

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Feb 15, 2022
@pieh pieh added topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine) and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Feb 15, 2022
@pieh pieh marked this pull request as ready for review February 15, 2022 18:21
Copy link
Contributor

@imjoshin imjoshin left a comment

Choose a reason for hiding this comment

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

Good find!

@imjoshin imjoshin changed the title chore: cache shouldn't reference nodes strongly chore(gatsby): cache shouldn't reference nodes strongly Feb 15, 2022
@pieh pieh merged commit 9f23dec into master Feb 16, 2022
@pieh pieh deleted the pieh-patch-1 branch February 16, 2022 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants