guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: Give the temporary database more working memory


From: Christopher Baines
Subject: 03/03: Give the temporary database more working memory
Date: Thu, 26 Mar 2020 16:22:28 -0400 (EDT)

cbaines pushed a commit to branch master
in repository data-service.

commit d1c243f7fd8902f359ff06fb78dce663cf4297ce
Author: Christopher Baines <address@hidden>
AuthorDate: Thu Mar 26 20:21:47 2020 +0000

    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(-)

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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]