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

Storing data with expiration date #25

Open
joques opened this issue Aug 10, 2012 · 0 comments
Open

Storing data with expiration date #25

joques opened this issue Aug 10, 2012 · 0 comments

Comments

@joques
Copy link

joques commented Aug 10, 2012

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é

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant