Skip to content

How do I freshen the TTL of already inserted entry? #19

@vi

Description

@vi

How do I prevent actively used TtlCache entry from being expired and run its Drop::drop?


Update: looks like remove + insert works. Maybe explicit cache.refresh(&key) would be more readable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions