Skip to content

Instantly share code, notes, and snippets.

@co-dh
Created September 23, 2013 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save co-dh/6672706 to your computer and use it in GitHub Desktop.
Save co-dh/6672706 to your computer and use it in GitHub Desktop.
from uwsgi import *
def application(env, start_response):
start_response('200 OK', [('Content-Type','text/html')])
cache_update('hello', 'world', 0, 'users')
v = cache_get('hello', 'users@192.168.0.1:3032')
#v = cache_get('hello', 'users')
print v
return "Hello World"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment