configcat / kotlin-sdk

ConfigCat SDK for Kotlin Multiplatform. ConfigCat is a hosted feature flag service: https://configcat.com. Manage feature toggles across frontend, backend, mobile, desktop apps. Alternative to LaunchDarkly. Management app + feature flag SDKs.
https://configcat.com/docs/sdk-reference/kotlin
MIT License
14 stars 0 forks source link

Always read cache #19

Closed novalisdenahi closed 7 months ago

novalisdenahi commented 11 months ago

Describe the purpose of your pull request

Before, the cache was read only when the in-memory "cache entry" was expired. This PR changes this behavior to reading the cache always and determining the expiration based on the external cache's TTL.

Related issues (only if applicable)

Provide links to issues relating to this pull request

Requirement checklist (only if applicable)