From d1c243f7fd8902f359ff06fb78dce663cf4297ce Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 26 Mar 2020 20:21:47 +0000 Subject: Give the temporary database more working memory In the hope that this makes the script faster. --- scripts/guix-data-service-create-small-backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/guix-data-service-create-small-backup') diff --git a/scripts/guix-data-service-create-small-backup b/scripts/guix-data-service-create-small-backup index e35841f..b7e5c25 100755 --- a/scripts/guix-data-service-create-small-backup +++ b/scripts/guix-data-service-create-small-backup @@ -19,7 +19,7 @@ renice 19 -p $$ || true ionice -p $$ -c 3 || true TMP_DATABASE=$(mktemp -d -t guix-data-service-database-XXXX) -URI=$(pg_tmp -w 0 -d "$TMP_DATABASE") +URI=$(pg_tmp -w 0 -o "-S2000000" -d "$TMP_DATABASE") function cleanup { pg_tmp stop -w 1 -d "$TMP_DATABASE" -- cgit v1.2.3