use in-memory database, faster and no need to clear before every run

This commit is contained in:
Bruno Windels
2018-07-23 10:21:38 +02:00
parent b42a0411f3
commit 048a367081
3 changed files with 2 additions and 8 deletions
-6
View File
@@ -1,6 +0,0 @@
BASE_DIR=$(realpath $(dirname $0))
pushd $BASE_DIR
pushd installations/consent
rm homeserver.db
popd
popd
@@ -193,7 +193,7 @@ database:
# Arguments to pass to the engine
args:
# Path to the database
database: "{{SYNAPSE_ROOT}}homeserver.db"
database: ":memory:"
# Number of events to cache in memory.
event_cache_size: "10K"