Skip to content

Ability to manually clear in-memory cache #243

Open
@aaricpittman

Description

@aaricpittman

Is your feature request related to a problem? Please describe.

When in ldd mode, I would like to be able to manually clear the in-memory cache rather than wait for the expiration.

Describe the solution you'd like

The ability to call client.clear_cache or store.clear_cache or something to that effect which would ultimately call LaunchDarkly::ExpiringCache#clear.

Describe alternatives you've considered

Given the encapsulation of the cache, the only option currently seems to be to close the current client and initialize a new one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions