Skip to content

Conversation

maya-the-mango
Copy link
Contributor

Fixes: #issue

Motivation and Context

//: # We want to use an expiring cache for bandits to dedupe ones from the same session e.g., if a user rapidly refreshes or the assignment is used on multiple parts of a page. We think a 10-minute expiration will be a good starting point for this.

Description

//: # Used TLRU cache on init of EppoClient

How has this been tested?

//: # Unit tests

Copy link
Collaborator

@rasendubi rasendubi left a comment

Choose a reason for hiding this comment

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

Is this intended to be a test-only change?

@maya-the-mango
Copy link
Contributor Author

Yes, the underlaying implementation of cache is here. In this repo I just want to make sure that the tests are working

@leoromanovsky
Copy link
Member

@rasendubi added with Write access to repo ✔️

@maya-the-mango maya-the-mango merged commit 3f02ce0 into main Dec 2, 2024
8 checks passed
@maya-the-mango maya-the-mango deleted the selki/FF3396-expiring-bandit-cache branch December 2, 2024 17:31
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.

3 participants