4

[FEATURE] Make cache configuration configurable at runtime · Issue #3276 · juspa...

 7 months ago
source link: https://github.com/juspay/hyperswitch/issues/3276
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

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?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK