Solutionunvalidated
Changed calling it to `await to_thread(CatalogHandler.catalog_check, user.group_name, req.source, req.csv)` — when this process is running. Tension: It makes function run in a separate thread without blocking main event loop. Outcome: everything seems to work.
cb9a671b-f12e-40f4-a58c-b55cae1c6a6d
Changed calling it to await to_thread(CatalogHandler.catalog_check, user.group_name, req.source, req.csv) — when this process is running. Tension: It makes function run in a separate thread without blocking main event loop. Outcome: everything seems to work.