You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
use in-memory database, faster and no need to clear before every run
This commit is contained in:
2
run.sh
2
run.sh
@@ -1,4 +1,4 @@
|
|||||||
tmux \
|
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"\; \
|
split-window "sleep 5; node start.js; sh riot/stop.sh; sh synapse/stop.sh; read"\; \
|
||||||
select-layout even-vertical
|
select-layout even-vertical
|
||||||
|
|||||||
@@ -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
|
# Arguments to pass to the engine
|
||||||
args:
|
args:
|
||||||
# Path to the database
|
# Path to the database
|
||||||
database: "{{SYNAPSE_ROOT}}homeserver.db"
|
database: ":memory:"
|
||||||
|
|
||||||
# Number of events to cache in memory.
|
# Number of events to cache in memory.
|
||||||
event_cache_size: "10K"
|
event_cache_size: "10K"
|
||||||
|
|||||||
Reference in New Issue
Block a user