From: Michael Tremer Date: Mon, 18 Jul 2022 14:23:03 +0000 (+0000) Subject: uploads: Store them on the pakfire storage X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=86c337fd0b98bd7daec4fab3378a5a77841ee367;p=pbs.git uploads: Store them on the pakfire storage Signed-off-by: Michael Tremer --- diff --git a/src/buildservice/constants.py.in b/src/buildservice/constants.py.in index acc45de4..96bc2a93 100644 --- a/src/buildservice/constants.py.in +++ b/src/buildservice/constants.py.in @@ -18,8 +18,7 @@ LOGS_DIR = os.path.join(PAKFIRE_DIR, "logs") PACKAGES_DIR = os.path.join(PAKFIRE_DIR, "packages") REPOS_DIR = os.path.join(PAKFIRE_DIR, "repos") SOURCES_DIR = os.path.join(PAKFIRE_DIR, "sources") - -UPLOADS_DIR = "/var/tmp/pakfire/uploads" +UPLOADS_DIR = os.path.join(PAKFIRE_DIR, "tmp/uploads") BUFFER_SIZE = 1024 * 100 # 100kb