Files
zulip/scripts/setup/flush-memcached
Tim Abbott bf694fa832 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.
2015-10-15 12:18:41 -04:00

5 lines
71 B
Bash
Executable File

#!/bin/sh -xe
# Flush memcached
echo 'flush_all' | nc localhost 11211