diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-10-13 18:00:02 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-10-13 18:00:02 +0100 |
commit | 1941eb315d692c44b0e21fb3fbf1b95eed138d53 (patch) | |
tree | 69121e4bf5003c806aa214e1bbf3c34a3723d6ac | |
parent | Only turn on the twisted deferred debugging if full_twisted_stacktraces is se... (diff) | |
download | synapse-1941eb315d692c44b0e21fb3fbf1b95eed138d53.tar.xz |
Enable stack traces for the demo scripts
Diffstat (limited to '')
-rwxr-xr-x | demo/start.sh | 3 |
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 \ |