about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--genenetwork/services/genenetwork.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm
index f66dcd9..c5b30ef 100644
--- a/genenetwork/services/genenetwork.scm
+++ b/genenetwork/services/genenetwork.scm
@@ -765,7 +765,7 @@ a @code{<genenetwork-configuration>} record."
                     (append (list #$data-directory)
                             (find-files #$data-directory
                                         #:directories? #t)
-                            (find-files #$(string-append gn-tmpdir "/gn-uploader-tmpdir")
+                            (find-files #$(string-append gn-tmpdir "/gn-uploader-scratch")
                                         #:directories? #t)))))))
 
 (define (gn-uploader-gunicorn-app config)
@@ -777,14 +777,14 @@ a @code{<genenetwork-configuration>} record."
                               (source "/run/mysqld")
                               (target source)
                               (writable? #t)))
-           (gn-uploader-tmpdir (string-append gn-tmpdir "/gn-uploader-tmpdir"))
+           (gn-uploader-scratch (string-append gn-tmpdir "/gn-uploader-scratch"))
            (gn-uploader-conf (computed-file "gn-uploader.conf"
                                             (configuration-file-gexp
                                              `(("UPLOADER_SECRETS" ,secrets)
                                                ("SQL_URI" ,sql-uri)
                                                ("UPLOAD_FOLDER" ,(string-append data-directory
                                                                                 "/uploads"))
-                                               ("TEMPORARY_DIRECTORY" ,gn-uploader-tmpdir)
+                                               ("SCRATCH_DIRECTORY" ,gn-uploader-scratch)
                                                ("AUTH_SERVER_URL" ,auth-server-url)
                                                ("GN2_SERVER_URL" ,gn2-server-url)
                                                ("SESSION_FILESYSTEM_CACHE_PATH" ,sessions-dir)
@@ -842,7 +842,7 @@ a @code{<genenetwork-configuration>} record."
                               (target source)
                               (writable? #t))
                              (file-system-mapping
-                              (source gn-uploader-tmpdir)
+                              (source gn-uploader-scratch)
                               (target source)
                               (writable? #t))
                              (file-system-mapping