mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
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:
4
scripts/setup/flush-memcached
Executable file
4
scripts/setup/flush-memcached
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh -xe
|
||||
|
||||
# Flush memcached
|
||||
echo 'flush_all' | nc localhost 11211
|
||||
Reference in New Issue
Block a user