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

remove time value for delete #62

Closed
wants to merge 1 commit into from

Conversation

charsyam
Copy link

In current version of Memcached.
defered delete is deprecated.
and it is only allowed like below

it works.

delete <key> 0
delete <key> noreply
delete <key> 0 noreply

it doesn't works.

delete <key> 123 noreply

so. just removing time parameter is needed.

@charsyam
Copy link
Author

charsyam commented Dec 5, 2014

@linsomniac Do you have any interest for this pr?

cmd = "%s %s %d%s" % (cmd, key, time, extra)
else:
cmd = "%s %s%s" % (cmd, key, extra)
cmd = "%s %s%s" % (cmd, key, extra)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is also used for touch, which is valid with a time value. delete could maybe just pass zero to this method instead?

@linsomniac
Copy link
Owner

I believe this is resolved in #27

@linsomniac linsomniac closed this May 27, 2016
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

Successfully merging this pull request may close these issues.

3 participants