[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: Disable value history in the inferior repl
From: |
Christopher Baines |
Subject: |
02/07: Disable value history in the inferior repl |
Date: |
Fri, 11 Mar 2022 08:28:37 -0500 (EST) |
cbaines pushed a commit to branch master
in repository data-service.
commit 9db755f27d3266ade0f93bbecd694a9531ebad0d
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Fri Mar 11 11:11:53 2022 +0000
Disable value history in the inferior repl
This might help reduce memory usage a little.
---
guix-data-service/jobs/load-new-guix-revision.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/guix-data-service/jobs/load-new-guix-revision.scm
b/guix-data-service/jobs/load-new-guix-revision.scm
index cdfe8b0..30eadc5 100644
--- a/guix-data-service/jobs/load-new-guix-revision.scm
+++ b/guix-data-service/jobs/load-new-guix-revision.scm
@@ -1079,12 +1079,15 @@ WHERE job_id = $1")
#:authenticate?
fetch-with-authentication?))))))
(inferior-eval '(use-modules (srfi srfi-1)
+ (ice-9 history)
(guix channels)
(guix grafts)
(guix profiles))
inferior)
(inferior-eval '(%graft? #f)
inferior)
+ (inferior-eval '(disable-value-history!)
+ inferior)
(inferior-eval '(define channel-instance
(@@ (guix channels) channel-instance))
inferior)
@@ -1249,11 +1252,15 @@ WHERE job_id = $1")
(inferior-eval '(use-modules (srfi srfi-1)
(srfi srfi-34)
+ (ice-9 history)
(guix grafts)
(guix derivations)
(gnu tests))
inf)
+ (inferior-eval '(disable-value-history!)
+ inf)
+
;; For G_ and P_
(or (inferior-eval '(and (resolve-module '(guix i18n) #:ensure #f)
(use-modules (guix i18n))
- branch master updated (fe556f4 -> c067918), Christopher Baines, 2022/03/11
- 01/07: Compute more cross derivations, Christopher Baines, 2022/03/11
- 04/07: Extract out the code for starting an inferior, Christopher Baines, 2022/03/11
- 06/07: Close the load revision inferior prior to inserting data, Christopher Baines, 2022/03/11
- 07/07: Fix an issue with the /builds page, Christopher Baines, 2022/03/11
- 02/07: Disable value history in the inferior repl,
Christopher Baines <=
- 03/07: Process each system target pair individually, Christopher Baines, 2022/03/11
- 05/07: Add to the hardcoded list of valid targets, Christopher Baines, 2022/03/11