Give the temporary database more working memory
In the hope that this makes the script faster.
This commit is contained in:
parent
3017765f0c
commit
d1c243f7fd
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ renice 19 -p $$ || true
|
||||||
ionice -p $$ -c 3 || true
|
ionice -p $$ -c 3 || true
|
||||||
|
|
||||||
TMP_DATABASE=$(mktemp -d -t guix-data-service-database-XXXX)
|
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 {
|
function cleanup {
|
||||||
pg_tmp stop -w 1 -d "$TMP_DATABASE"
|
pg_tmp stop -w 1 -d "$TMP_DATABASE"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue