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

How do I check if the connection is closed? #98

Open
ghost opened this issue Jun 25, 2016 · 0 comments
Open

How do I check if the connection is closed? #98

ghost opened this issue Jun 25, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 25, 2016

Is it possible to programmatically check if the connection is really working after firing a memcache.cas request? Can I check the response code?

I could do a dumb:

memcache.set('Connection') == 'True'
if memcache.get('Connection') == 'True':
    continue

However is there a better way to do that?

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

0 participants