Skip to content

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

Open

Description

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?

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