2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/data-service.git synced 2023-12-14 03:23:03 +01:00

Give the temporary database more working memory

In the hope that this makes the script faster.
This commit is contained in:
Christopher Baines 2020-03-26 20:21:47 +00:00
parent 3017765f0c
commit d1c243f7fd

View file

@ -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"