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

[FEATURE] Make cache configuration configurable at runtime #3276

Open
2 tasks done
dracarys18 opened this issue Jan 8, 2024 · 2 comments
Open
2 tasks done

[FEATURE] Make cache configuration configurable at runtime #3276

dracarys18 opened this issue Jan 8, 2024 · 2 comments
Assignees
Labels
C-feature Category: Feature request or enhancement good first issue Good for newcomers S-awaiting-triage Status: New issues that have not been assessed yet

Comments

@dracarys18
Copy link
Member

Feature Description

Currently all in-memory cache configuration like TTL, TTI and MAX_CAPACITY are const, Make it configurable through the application config

Possible Implementation

Create

struct Cache {
	ttl: u32,
	tti: u32,
	max_capacity: u32
}

and add it to Settings struct

Have you spent some time checking if this feature request has been raised before?

  • I checked and didn't find a similar issue

Have you read the Contributing Guidelines?

Are you willing to submit a PR?

None

@dracarys18 dracarys18 added C-feature Category: Feature request or enhancement S-awaiting-triage Status: New issues that have not been assessed yet good first issue Good for newcomers labels Jan 8, 2024
@dracarys18 dracarys18 self-assigned this Jan 8, 2024
@Norman-Lee
Copy link

Hey @dracarys18 looking at the good first issues website and came across this repo, was wondering if I could get started working on this. I'd like to pick up some rust and seems like it might be a good start here.

@dracarys18
Copy link
Member Author

Sure I am assigning the issue to you @Norman-Lee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature Category: Feature request or enhancement good first issue Good for newcomers S-awaiting-triage Status: New issues that have not been assessed yet
Projects
None yet
Development

No branches or pull requests

2 participants