load async worker

This commit is contained in:
2025-05-11 16:40:46 +02:00
parent cbcadbf015
commit 12ac522b98
10 changed files with 255 additions and 69 deletions

View File

@@ -7,7 +7,7 @@ import logging
logger = logging.getLogger(__name__)
# Define the main function for loading data
def main_loader(cfg: object, id: int) -> None:
async def main_loader(cfg: object, id: int) -> None:
# Create a matrix of values from the data
matrice_valori = make_matrix(cfg, id)
# Load the data into the database