Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing a taxonomy seems to work every other operations (maybe only in debug mode) #292

Open
alexgarel opened this issue Nov 23, 2023 · 0 comments

Comments

@alexgarel
Copy link
Member

What

If I'm importing a taxonomy (eg. countries),
I cannot get the list of open projects.

Steps to reproduce the behavior:

  1. go to home page and create a new project
  2. start a project with countries taxonomies
  3. open the app in a new tab, and try to list existing projects

The list is not displayed… you wait with the animation circling and eventually you get a timeout.

Expected behavior

We should be able to run those operations concurrently.

Note: 
I suspect this might be because the parser uses the database in synchronous mode, while we use async with FastAPI !
The parser must support using async (and this is a good occasion to separate database operation from the rest of the code).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant