Flush memcached whenever we drop the databases.

This fixes some issues that we've had where commands will fail is
confusing ways after the database is rebuilt because data from before
the database was dropped is still in the memcached cache.
This commit is contained in:
Tim Abbott
2015-09-28 10:57:40 -07:00
parent 32aea4c9dd
commit bf694fa832
5 changed files with 12 additions and 0 deletions

4
scripts/setup/flush-memcached Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh -xe
# Flush memcached
echo 'flush_all' | nc localhost 11211