diff --git a/run.sh b/run.sh index bc39208384..b64fa1dbdd 100644 --- a/run.sh +++ b/run.sh @@ -1,4 +1,4 @@ tmux \ - new-session "sh riot/stop.sh; sh synapse/stop.sh; sh synapse/clear.sh; sh synapse/start.sh; sh riot/start.sh; read"\; \ + new-session "sh riot/stop.sh; sh synapse/stop.sh; sh synapse/start.sh; sh riot/start.sh; read"\; \ split-window "sleep 5; node start.js; sh riot/stop.sh; sh synapse/stop.sh; read"\; \ select-layout even-vertical diff --git a/synapse/clear.sh b/synapse/clear.sh deleted file mode 100644 index b2bee9ac47..0000000000 --- a/synapse/clear.sh +++ /dev/null @@ -1,6 +0,0 @@ -BASE_DIR=$(realpath $(dirname $0)) -pushd $BASE_DIR -pushd installations/consent -rm homeserver.db -popd -popd \ No newline at end of file diff --git a/synapse/config-templates/consent/homeserver.yaml b/synapse/config-templates/consent/homeserver.yaml index 6ba15c9af0..a27fbf6f10 100644 --- a/synapse/config-templates/consent/homeserver.yaml +++ b/synapse/config-templates/consent/homeserver.yaml @@ -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"