commit e00cc822725aae81043d83ad2e7510b66c186def parent 0abd8f039a751419dd1bfae15d61e00122aed0d3 Author: Florian Dold <florian@dold.me> Date: Tue, 9 Dec 2025 17:12:13 +0100 turn off fsync Diffstat:
| M | scripts/demo/setup-sandcastle.sh | | | 8 | ++++++-- |
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/scripts/demo/setup-sandcastle.sh b/scripts/demo/setup-sandcastle.sh @@ -21,8 +21,6 @@ echo "Provisioning sandcastle" # General configuration. # Might eventually be moved to an external file. - - # Source any overrides from external file if [[ -e /overrides ]]; then source /overrides @@ -457,6 +455,12 @@ function wait_pg_ready() { done } +# Since the sandcastle is a test system, we turn fsync off for performance +# reasons (especially with the drupal setup). +# CAUTION: You do not want to set this in production, +# especially not for the taler-exchange. +pg_conftool 17 main set fsync off + backup_file=/exported/postgres-backup.sql if [[ $import_instr = singledump ]]; then echo "Importing database dump"