Skip to content

Conversation

@shkaper
Copy link
Contributor

@shkaper shkaper commented Nov 16, 2021

Following up on #15, I've fixed the flaking test there. I think sinonjs FakeTimer is a more robust solution for a test where timeouts are involved.

Closes #14

@shkaper shkaper mentioned this pull request Nov 16, 2021
@shkaper
Copy link
Contributor Author

shkaper commented Dec 13, 2021

Hey @StarpTech, have you got the chance to review this yet?

super()
this.memoizedResults = new QuickLRU({
maxSize: this.options?.lru?.maxSize ? this.options.lru.maxSize : 100,
maxAge: this.options?.lru?.maxAge,
Copy link
Owner

Choose a reason for hiding this comment

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

Apollo works with seconds. Should we work with seconds too here?

@thiagomini
Copy link

thiagomini commented Dec 27, 2021

Hi @shkaper and @StarpTech , we (The company I'm currently working) are in need of this feature as well. Can you merge this and update the package?

@StarpTech
Copy link
Owner

StarpTech commented Dec 27, 2021

Hi @thiagomini, the PR is reviewed, but the original author isn't responding. In the future, I recommend creating a separate PR with the changes. I'll handle it for now.

@StarpTech StarpTech merged commit 955130d into StarpTech:main Dec 27, 2021
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.

LRU max age

4 participants