Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undocument 'expires' argument #30

Closed
reubano opened this issue Sep 20, 2013 · 2 comments
Closed

undocument 'expires' argument #30

reubano opened this issue Sep 20, 2013 · 2 comments

Comments

@reubano
Copy link

reubano commented Sep 20, 2013

What is the time unit for the 'expires' argument?

@alevy
Copy link
Member

alevy commented Sep 21, 2013

You're right, it needs documentation. The unit is seconds from the current time, or if the interval is larger than 3 months, it's unix time (seconds since epoch). This is just how memcache interprets the number.

@reubano
Copy link
Author

reubano commented Sep 21, 2013

Great thanks! You may want to adapt 3rd-Eden's readme for this library since he did a good job of documenting the api.

@reubano reubano closed this as completed Sep 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants