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

Storing data with expiration date #25

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é

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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