Refactor: Worker-Log-Verzeichnis von 'temp' zu 'tmp' umbenennen
This commit is contained in:
+1
-1
@@ -188,7 +188,7 @@ class FopWorkerPool:
|
|||||||
java_vm_path: Pfad zur Java VM Binary
|
java_vm_path: Pfad zur Java VM Binary
|
||||||
apache_fop_dir: Pfad zum Apache FOP-Verzeichnis
|
apache_fop_dir: Pfad zum Apache FOP-Verzeichnis
|
||||||
fop_config_file: Optionaler Pfad zur fop.xconf Konfigurationsdatei
|
fop_config_file: Optionaler Pfad zur fop.xconf Konfigurationsdatei
|
||||||
log_dir: Optionales Verzeichnis für Worker-Logs (Standard: temp_dir/temp)
|
log_dir: Optionales Verzeichnis für Worker-Logs (Standard: temp_dir/tmp)
|
||||||
"""
|
"""
|
||||||
self.num_workers = num_workers
|
self.num_workers = num_workers
|
||||||
self.java_vm_path = java_vm_path
|
self.java_vm_path = java_vm_path
|
||||||
|
|||||||
+1
-1
@@ -199,7 +199,7 @@ class SaxonWorkerPool:
|
|||||||
java_vm_path: Pfad zur Java VM Binary
|
java_vm_path: Pfad zur Java VM Binary
|
||||||
saxon_jar_path: Pfad zur Saxon JAR-Datei
|
saxon_jar_path: Pfad zur Saxon JAR-Datei
|
||||||
classpath_cache: Cache für Saxon-Classpaths
|
classpath_cache: Cache für Saxon-Classpaths
|
||||||
log_dir: Optionales Verzeichnis für Worker-Logs (Standard: temp_dir/temp)
|
log_dir: Optionales Verzeichnis für Worker-Logs (Standard: temp_dir/tmp)
|
||||||
"""
|
"""
|
||||||
self.num_workers = num_workers
|
self.num_workers = num_workers
|
||||||
self.java_vm_path = java_vm_path
|
self.java_vm_path = java_vm_path
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ class SaxonWorkerPoolS9Api:
|
|||||||
java_vm_path: Pfad zur Java VM Binary
|
java_vm_path: Pfad zur Java VM Binary
|
||||||
saxon_jar_path: Pfad zur Saxon JAR-Datei
|
saxon_jar_path: Pfad zur Saxon JAR-Datei
|
||||||
classpath_cache: Cache für Saxon-Classpaths
|
classpath_cache: Cache für Saxon-Classpaths
|
||||||
log_dir: Optionales Verzeichnis für Worker-Logs (Standard: temp_dir/temp)
|
log_dir: Optionales Verzeichnis für Worker-Logs (Standard: temp_dir/tmp)
|
||||||
"""
|
"""
|
||||||
self.num_workers = num_workers
|
self.num_workers = num_workers
|
||||||
self.java_vm_path = java_vm_path
|
self.java_vm_path = java_vm_path
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ class WorkerPoolMixin:
|
|||||||
|
|
||||||
# Erstelle Worker-Pool (wähle richtige Variante basierend auf XSLT-Version)
|
# Erstelle Worker-Pool (wähle richtige Variante basierend auf XSLT-Version)
|
||||||
num_workers = app_settings.max_workers
|
num_workers = app_settings.max_workers
|
||||||
log_dir = self.project.project_dir / "temp"
|
log_dir = self.project.project_dir / "tmp"
|
||||||
|
|
||||||
# Wähle die richtige Worker-Pool-Implementierung
|
# Wähle die richtige Worker-Pool-Implementierung
|
||||||
if app_settings.saxon_xslt_version == XsltVersion.XSLT_1_0:
|
if app_settings.saxon_xslt_version == XsltVersion.XSLT_1_0:
|
||||||
@@ -140,7 +140,7 @@ class WorkerPoolMixin:
|
|||||||
|
|
||||||
# Erstelle Worker-Pool
|
# Erstelle Worker-Pool
|
||||||
num_workers = app_settings.max_workers
|
num_workers = app_settings.max_workers
|
||||||
log_dir = self.project.project_dir / "temp"
|
log_dir = self.project.project_dir / "tmp"
|
||||||
pool = FopWorkerPool(
|
pool = FopWorkerPool(
|
||||||
num_workers=num_workers,
|
num_workers=num_workers,
|
||||||
java_vm_path=java_vm.path_to_binary_file,
|
java_vm_path=java_vm.path_to_binary_file,
|
||||||
|
|||||||
Reference in New Issue
Block a user