Skip to content

Conversation

warmwaffles
Copy link
Member

Fixes #21

This fixes the issue where a memory leak would happen if the connection is held open for a continuous amount of time. Instead we clamp the query cache down to a fixed size specified in an option given to the repo.

@warmwaffles warmwaffles requested a review from dmitriid March 4, 2021 05:34
@warmwaffles warmwaffles added this to the 1.0 milestone Mar 4, 2021
@dmitriid
Copy link
Contributor

dmitriid commented Mar 4, 2021

Ship it :) 👍

@warmwaffles warmwaffles merged commit cb8cfc4 into main Mar 4, 2021
@warmwaffles warmwaffles deleted the lru-query-cache branch March 4, 2021 13:14
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.

Query cache should be LRU based
2 participants