use xdg variables and parallelize some processes

This commit is contained in:
2025-10-08 13:15:54 +02:00
parent e8ed114bc2
commit c7ee2e997f
5 changed files with 28 additions and 19 deletions

View File

@@ -509,6 +509,9 @@ local_files_present || load_missing_files
precompute_views
# Generate filenames for temporary files
# We keep these files in a temporary directory and not in the state directory
# because this allows for straight-forward capability to run multiple instances
# simultaneously.
tmpdir=$(mktemp -d)
LOCKFILE="$tmpdir/lock"
RESULTS="$tmpdir/results"