diff options
author | Christopher Baines <mail@cbaines.net> | 2024-08-10 18:30:06 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2024-08-12 09:14:36 +0100 |
commit | b79c7e83be03be8f420e9f78ac3f8d9000c17f77 (patch) | |
tree | 10fcb69578c51689329af13a98fb245ca0a23a2d /guix-data-service | |
parent | 97b76000ec2eeb7905a7cc1de4e81e91b966e918 (diff) | |
download | data-service-b79c7e83be03be8f420e9f78ac3f8d9000c17f77.tar data-service-b79c7e83be03be8f420e9f78ac3f8d9000c17f77.tar.gz |
Reduce chunk size
To try and respond quicker when the WAL is growing.
Diffstat (limited to 'guix-data-service')
-rw-r--r-- | guix-data-service/jobs/load-new-guix-revision.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-data-service/jobs/load-new-guix-revision.scm b/guix-data-service/jobs/load-new-guix-revision.scm index 5e28ba0..f9eb3f6 100644 --- a/guix-data-service/jobs/load-new-guix-revision.scm +++ b/guix-data-service/jobs/load-new-guix-revision.scm @@ -1889,7 +1889,7 @@ SELECT 1 FROM derivation_source_file_nars WHERE derivation_source_file_id = $1" (inferior-eval '(vector-length gds-inferior-packages) inferior))))) - (define chunk-size 5000) + (define chunk-size 3000) (define (check-wal-size) (let loop ((wal-bytes |