data_processor.py aktualisiert
This commit is contained in:
@@ -2144,8 +2144,6 @@ class DataProcessor:
|
|||||||
all_updates = []
|
all_updates = []
|
||||||
now_timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
now_timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||||
|
|
||||||
# Stelle sicher, dass der Import am Anfang der Datei steht
|
|
||||||
from concurrent.futures import ThreadPoolExecutor, as_completed
|
|
||||||
|
|
||||||
with ThreadPoolExecutor(max_workers=getattr(Config, 'MAX_SCRAPING_WORKERS', 5)) as executor:
|
with ThreadPoolExecutor(max_workers=getattr(Config, 'MAX_SCRAPING_WORKERS', 5)) as executor:
|
||||||
self.logger.info(f"Starte parallele Verarbeitung für {len(tasks)} Websites...")
|
self.logger.info(f"Starte parallele Verarbeitung für {len(tasks)} Websites...")
|
||||||
|
|||||||
Reference in New Issue
Block a user