summary refs log tree commit diff
path: root/demo/start.sh
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-10-13 18:00:02 +0100
committerMark Haines <mark.haines@matrix.org>2015-10-13 18:00:02 +0100
commit1941eb315d692c44b0e21fb3fbf1b95eed138d53 (patch)
tree69121e4bf5003c806aa214e1bbf3c34a3723d6ac /demo/start.sh
parentOnly turn on the twisted deferred debugging if full_twisted_stacktraces is se... (diff)
downloadsynapse-1941eb315d692c44b0e21fb3fbf1b95eed138d53.tar.xz
Enable stack traces for the demo scripts
Diffstat (limited to '')
-rwxr-xr-xdemo/start.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/demo/start.sh b/demo/start.sh
index a90561488d..d90115ec97 100755
--- a/demo/start.sh
+++ b/demo/start.sh
@@ -38,6 +38,9 @@ for port in 8080 8081 8082; do
 
     perl -p -i -e 's/^enable_registration:.*/enable_registration: true/g' $DIR/etc/$port.config
 
+    echo "full_twisted_stacktraces: true" >> $DIR/etc/$port.config
+    echo "report_stats: false" >> $DIR/etc/$port.config
+
     python -m synapse.app.homeserver \
         --config-path "$DIR/etc/$port.config" \
         -D \