diff --git a/SAS/TMSS/client/lib/populate.py b/SAS/TMSS/client/lib/populate.py index 53f50b67a7a6dc12b0786de8359499e7660883e8..bb39f6967617e077aa4c8d00f425534cbfc4d95c 100644 --- a/SAS/TMSS/client/lib/populate.py +++ b/SAS/TMSS/client/lib/populate.py @@ -84,7 +84,13 @@ def populate_schemas(schema_dir: str=None, templates_filename: str=None): except Exception as e: logger.error(e) + # TODO: make parallel upload work. Right now it fails sometimes do to interdependencies and non-determistic upload order. # do parallel upload - with ThreadPoolExecutor() as executor: - executor.map(upload_template, templates) + # with ThreadPoolExecutor() as executor: + # executor.map(upload_template, templates) + + # for now, do sequeltial upload + for template in templates: + upload_template(template) +