Skip to content
This repository was archived by the owner on Feb 13, 2022. It is now read-only.

Storing data with expiration date #25

@joques

Description

@joques

Hi,
I am using the memcache client for node.js to store data with a lifetime using the following syntax:


memcacheClt.set objectKey, JSON.stringify(value), callback, lifeTime

Although I get STORED as a result to the set operation, every time I try to get from the cache, it returns null. When I remove the lifeTime param everything seems to work fine. But then, the data does not expire anymore.
Does anyone have an idea how to fix this?
José

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