add command to flush memcache when needed

This commit is contained in:
Benjamin Dauvergne 2013-09-05 18:50:19 +02:00
parent 19f89b3135
commit aaa578771b
1 changed files with 5 additions and 0 deletions

5
tools/flush_memcache.py Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/python
import memcache
mc = memcache.Client(['127.0.0.1:11211'])
mc.flush_all()