diff options
author | Christopher Baines <mail@cbaines.net> | 2020-03-26 20:21:47 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-03-26 20:21:47 +0000 |
commit | d1c243f7fd8902f359ff06fb78dce663cf4297ce (patch) | |
tree | 2ec5a0efc19b75efc0005dd956400698dfff1997 /scripts/guix-data-service-create-small-backup | |
parent | 3017765f0cc3aa10d067b6c410ddc271a8adbfee (diff) | |
download | data-service-d1c243f7fd8902f359ff06fb78dce663cf4297ce.tar data-service-d1c243f7fd8902f359ff06fb78dce663cf4297ce.tar.gz |
Give the temporary database more working memory
In the hope that this makes the script faster.
Diffstat (limited to 'scripts/guix-data-service-create-small-backup')
-rwxr-xr-x | scripts/guix-data-service-create-small-backup | 2 |
1 files changed, 1 insertions, 1 deletions
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" |